Hi guys.
I open this topic because i have a huge problem about translation mod i created.
This mod is for the old version (before Alpha 18) and i saw on stonehearth website that they changed the way to create it.
I read the instructions the gave to us but i didn’t understand almost anything…the only thing I understood was that they changed some words/codes in the strings of the file.
What I have to change from the old mod to the new one to make it works properly?
This is the content of the added_language.json file:
{
“languages”: {
“it-IT”: {
“display_name”: “Italiano”
}
}
}
and this is the content of the manifest.json file:
{
“info”: {
“name”: “Italian translation”,
“version”: 3
},
"ui": {
"less": [
"file(ui/root/css/base.less)",
"file(ui/root/css/variables.less)"
],
"js": [
"file(ui/root/js/helpers.js)",
"file(ui/root/js/loadLocales.js)"
]
},
"mixintos": {
"stonehearth/locales/supported_languages.json": "file(added_languages.json)",
"rayyas_children/locales/it.json": "file(translations/rayyas_children/it.json)",
"stonehearth/locales/it.json": "file(translations/stonehearth/jobs.json)",
"stonehearth/locales/it.json": "file(translations/candledark/candledark.json)"
},
"overrides": {
"stonehearth/locales/it-IT.json": "file(translations/stonehearth/it-IT.json)",
"rayyas_children/locales/it-IT.json": "file(translations/rayyas_children/it.json)",
"stonehearth/services/server/population/data/ascendancy_population.json": "file(translations/stonehearth/population/ascendancy_population.json)",
"stonehearth/services/server/population/data/goblin_population.json": "file(translations/stonehearth/population/goblin_population.json)",
"stonehearth/services/server/population/data/undead_population.json": "file(translations/stonehearth/population/undead_population.json)",
"frostfeast/locales/it.json": "file(translations/frostfeast/frostfeast.json)"
}
}