Mobbstar / InvisibleInc-MoreMissions

A mod for "Invisible, Inc." by Klei Entertainment, adding new kinds of missions to the game.
13 stars 10 forks source link

Todo: Add translation support #211

Open Hekateras opened 5 months ago

Hekateras commented 5 months ago

The PO file translation system of the game has one big advantage and one big disadvantage. Disadvantage: It is not modular. It is only possible to add translation to a mod by adding it to big language pack mod. Advantage: When a translation is enabled but translations are missing for certain strings, the game will display the original line without crashing.

We need an implementation with that same advantage - something that will enable translations on a per-path basis, if the selected translation has a valid path for that string. Without it, every update that adds new strings to the mod will break the mod until the mod pack is updated accordingly.