<aside> 📌
You can add or modify localization packages within mods. To do so you will need to add a localization package within your mod folder.
</aside>
{
"languageCode": "English",
"displayName": "English",
"documentColumn": 1,
"systemLanguage": 10,
"swapCitizenTitleOrder": false,
"staticKillerMoniker": false,
"startText": "Press Any Button",
"useShortenedDays": true,
"shortenedDaysLength": 3
}
| Parameter | Inputs | Notes |
|---|---|---|
| languageCode | [language code] | The internal name for your language. This should match the folder name. |
| displayName | [language name] | The displayed name for your language. |
| documentColumn | You can ignore this parameter, as it’s used for us to import new localisation internally. | |
| systemLanguage | [integer] | System language as defined here: https://docs.unity3d.com/6000.2/Documentation/ScriptReference/SystemLanguage.html |
| swapCitizenTitleOrder | true/false | Display 'Mr' etc after the name. |
| staticKillerMoniker | true/false | If true will use a limited pre-defined pool of killer monikers, as sometimes these can be very tricky to compile together in the same way as you can in English. |
| startText | [starting screen text] | When the start screen is displayed, the language banks are not yet loaded; so here we have a reference as to what to display on the start screen. |
| useShortenedDays | true/false | Uses short version of days in-game on occasion (eg ‘Mon’, ‘Tue’ etc) by taking the first x letters. |
| shortenedDaysLength | [integer] | If above is true, how many letters from the start of the whole day name do we sample? |
You can now add .csv files to supply localized content in the game.
To do this, grab this csv template file:
Many csv editors are available that are capable of producing the correct format, but here are the settings as displayed in Open Office:
