Confirmedusers
637
edits
m (Minor formatting.) |
m (Minor formatting bc visual editor isn't great.) |
||
Line 48: | Line 48: | ||
== Lang(uage) File == | == Lang(uage) File == | ||
A lang file is a '''list of translations''' for a mod. To ensure that mods can be easily translated, the game automatically creates one or more | A lang file is a '''list of translations''' for a mod. To ensure that mods can be easily translated, the game automatically creates one or more translation keys for each asset. These keys are based on the asset code and type. | ||
An example ''<nowiki/>'en.json''' lang file may look like this:<syntaxhighlight lang="json"> | An example ''<nowiki/>'en.json''' lang file may look like this:<syntaxhighlight lang="json"> |