Difference between revisions of "Localization of base game and mods"
Jump to navigation
Jump to search
Line 14: | Line 14: | ||
=== General data === | === General data === | ||
Localization files for general strings are located at <code>[game installation folder]/data/locale/[language name].lua</code> | Localization files for general strings are located at <code>[game installation folder]/data/locale/[language name].lua</code> | ||
+ | *Look at existing files to understand the file format. | ||
+ | |||
+ | === Mods data === | ||
+ | Localization files for mod strings are located at <code>[game installation folder]/data/mods/[mod_name]/locale/[language name].lua</code> | ||
+ | *Look at existing files to understand the file format. |
Revision as of 15:24, 10 February 2021
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.
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.