- Code: Select all
self.translator = gettext.translation(
MESSAGES, LOCALE_DIR, languages=[langCode])
at lines 239 and 240 of your file /data01/Flightgear/FFGo/ffgo/misc.py. It would certainly be helpful to add:
- Code: Select all
print("Locales debug: {!r}, {!r}, {!r}".format(
MESSAGES, LOCALE_DIR, langCode))
just before these lines. Indentation matters: there must be 8 spaces before the word 'print'. Then you can rerun FFGo, copy the output and follow up on the the FFGo forum thread.