m (Bernhard moved page Modding Template Translation to Modding/Templates/Translation without leaving a redirect) |
No edit summary |
||
Line 24: | Line 24: | ||
} | } | ||
</syntaxhighlight> | </syntaxhighlight> | ||
=== | |||
>>> NOTE: The translation mod can have an unlimited number of translations. The file of one translation must have a name like '''{language code}.json''' | |||
=== rm.json === | |||
Content<syntaxhighlight lang="json"> | Content<syntaxhighlight lang="json"> | ||
{ | { |
Revision as of 16:00, 17 November 2023
This mod template adds a translation.
Code
def.json
Content
{
"id": "ModTemplateTranslation",
"name": "Mod Template Translation",
"version_name": "1.0",
"version_code": 1,
"author": "The Desynced Team",
"homepage": "https://www.desyncedgame.com/",
"description": "Mod Template Translation",
"packages": {
"Translation": {
"name": "Translation",
"type": "Translation",
"Languages": {
"rm": "Romansh"
}
}
}
}
>>> NOTE: The translation mod can have an unlimited number of translations. The file of one translation must have a name like {language code}.json
rm.json
Content
{
"New Game": "Niev Gieu"
}
Modding | |
Templates |