Localization of base game and mods
General localization vs mods localization
There are two types of data for localization.
General data
Data used in the game regardless used mods.
- Example: main menu buttons, employees activies, amployees types, screen names etc.
Mods data
Data related to specific mod.
- Example: mission description, building names, goods names etc.
- Do not forget that all Nebuchadnezzar missions and game data are also in the mod, so all related localization are in the mod as well.
Localization files
General data
Localization files for general strings are located at [game installation folder]/data/locale/[language name].lua
- Look at existing files to understand the file format.
- Name of the file is the name of this language player can select in the game.
- If you want to add new language, simply create valid localization file in this folder and that's all. Game will detect new language at next start.
Mods data
Localization files for mod strings are located at [game installation folder]/data/mods/[mod name]/locale/[language name].lua
- Look at existing files to understand the file format.