Modding/Templates/Translation: Difference between revisions

From Desynced Wiki
(Created page with "__FORCETOC__ This mod template adds a translation. == Code == === def.json === Content<syntaxhighlight lang="json"> { "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": "...")
 
m (Bernhard moved page Modding Template Translation to Modding/Templates/Translation without leaving a redirect)
(No difference)

Revision as of 17:45, 9 August 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"
            }
        }
    }
}

scenario.lua

Content

{
	"New Game": "Niev Gieu"
}