Translations:Modding:Content Tutorial Simple Item/31/en: Difference between revisions
From Vintage Story Wiki
(Importing a new version from external source) |
(No difference)
|
Latest revision as of 13:14, 28 March 2024
This sample lang file contains two premade translations, to show you how the file works.
{
"template-lang-1": "Template Lang 1",
"template-lang-2": "Template Lang 2"
}
On the left is the translation key, and on the right is the translated string. Add a new entry to this file by adding a comma after the second sample translation, and a new line. In this case, the translation key is 'item-simplewand'. Note that this is how the game is currently displaying the name, minus the mod domain prefix. The translated string for this should be 'Simple Wand'.
{
"template-lang-1": "Template Lang 1",
"template-lang-2": "Template Lang 2",
"item-simplewand": "Simple Wand"
}
Both sample translations are not used, and can be deleted if you want to.