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

Information about message (contribute)
This message has no documentation. If you know where or how this message is used, you can help other translators by adding documentation to this message.
Message definition (Modding:Content Tutorial Simple Item)
This sample lang file contains two premade translations, to show you how the file works. <syntaxhighlight lang="json">
{
  "template-lang-1": "Template Lang 1",
  "template-lang-2": "Template Lang 2"
}
</syntaxhighlight>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 '<nowiki/>''item-simplewand'<nowiki/>''. Note that this is how the game is currently displaying the name, minus the mod domain prefix. The translated string for this should be '<nowiki/>''Simple Wand'<nowiki/>''.<syntaxhighlight lang="json">
{
  "template-lang-1": "Template Lang 1",
  "template-lang-2": "Template Lang 2",
  "item-simplewand": "Simple Wand"
}
</syntaxhighlight>Both sample translations are not used, and can be deleted if you want to.

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.