Localization - MassiveMiniteam/OddModKit GitHub Wiki

How to add a language

  • Make sure to setup your mod with Getting Started
  • Open your CookRule and add all the StringTables in /LOC/Data/LocalizationTables/English/ and all subdirs

image

  • Open the Localization Dashboard and select the "Game" Target, add your language like "Finnish" (hover over to see the ID, you need that later, here its "fi")

image

  • Press Gather Text

image

  • Translate it (you can use the Dashboard by clicking "Edit translations for this culture" or use .po files.
  • Press Compile Text

image

  • In your ModBase add your language ID to the "Modded Languages" like fi
  • Go to your packaging settings and select the language to package

image

  • Build your mod

How to add your own strings

To add a text, just create a new StringTable in your mod directory, add the key and text. Press Gather in the localization dashboard and translate as usual