Here’s the first few impressions and what I did:
-
edit locales/index.xml, adding:
<locale id="cs-CZ" sort="7"> <ui language="Jazyk" region="Region" accept="Vyber"/> <label id="en-US,en-GB,en-CA,de-DE,fr-FR,nb-NO,es-ES" language="Czech" region="Česko"/> </locale>
-
add flag file _flags/cs-CZ.png
-
copy de-DE directory to cs-CZ
-
start the game
And here’s what happens:
-
When I click on the US flag, I get the language choices, but my language says Deutsch (Czech). A bit of experimenting with the order shows that it’s not Deutsch specifically - it’s whatever language was on the previous line, or “null” if I change the sort parameter so that cs-CZ is first. This would suggest that there is some hardcoded list of language names somewhere.
-
possibly related problem - if I select my language and then click on the flag again, I get empty window and have to kill the game. Other languages work OK
-
Another possibly related problem - if I exit the game with cs-CZ selected (saved in config as locale), next startup ends (after loading complete) with Error 2007, context Main.finishSetup options menu. (Removing the locale line from config restores it).
-
The “Č” character is not shown at all, probably indicating that the font in question doesn’t contain it. In fact, from all the “special” characters in Czech (áÁčČďĎéÉěĚíÍóÓřŘšŠťŤúÚůžŽ), only the vowels accented with ‘´’ are shown, everything else is just silently eaten.
-
Any missing entry in the localization file screws up the game. I took data_status_effects.csv from some other than German locale, translated the strings, put this into the German locale directory and suddenly I couldn’t see battle preview of any battle that has enemies with any flavours. Found out that there were two extra values in the original, working, German file (one of them KNOCK_BACK, as if KNOCKBACK isn’t enough). I seriously think that the localization support should work on the principle of “if I can’t find something, use default text”, and it most certainly shouldn’t just stop working. (In case of broken status effects, once you click on “Battle” where an attempt is made, you cannot navigate away on the map anymore, the only thing that works is Quit)
-
the “default” property of locale in locales/index.xml seems to be ignored, English (US) is always selected.