Translations:Modding:Content Tutorial Basics/12/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 Basics)
An example ''<nowiki/>'en.json''' lang file may look like this:<syntaxhighlight lang="json">
{
"block-simplyshinyblock": "(Example Mod) Simple Gold Block",
"item-simplewand": "(Example Mod) Simple Wand"
}
</syntaxhighlight>Each 'key' matches to a string that affects how the item or block is named in game. Note that there are many available languages in Vintage Story, and these can be found in the base''"assets/game/lang/languages.json"'' file''.''

An example 'en.json' lang file may look like this:

{
	"block-simplyshinyblock": "(Example Mod) Simple Gold Block",
	"item-simplewand": "(Example Mod) Simple Wand"
}

Each 'key' matches to a string that affects how the item or block is named in game. Note that there are many available languages in Vintage Story, and these can be found in the base"assets/game/lang/languages.json" file.