project-navigation
Personal tools

Author Topic: UFO:AI doesn't load any translations  (Read 3689 times)

Offline Wuzzy

  • Cannon Fodder
  • **
  • Posts: 5
    • View Profile
UFO:AI doesn't load any translations
« on: March 01, 2013, 05:32:56 pm »
Hi, my UFO:AI 2.4 doesn't seem to load any translations.

The game is in English available only, but I get only the most basic strings, like the main menu buttons are available. Longer texts are not visible to me, instead I just get something which looks like a placeholder.
For example, the entire campaign intro text is missing, instead I see strings like "intro_text_1", also the e-mails only have placeholders and a lot of other important texts are missing.
The campaign is almost unplayable without these texts.

In the options I see a list of all languages but all languages are gray except German (system language) and "No Language". This pretty much looks like the game failed to find the translations. Oh, of course I get the dummy strings, too, if I select "German". No matter which translation I select, I always get the dummy strings.

I use Arch Linux.
On my system, the translation files reside in /usr/share/ufoai/base/i18n.
The packfiles reside in /usr/share/ufoai/base.

If I start UFO:AI from the console and immediately quit after loading, I see one interesting line:

Quote
CL_LanguageInit: language settings are stored in configuration: none

At the very start, the output says that the packfiles get loaded. The output does not mention the translation files being loaded.

All the other output is not translation-related.

Can anyone please tell my what went wrong with my UFO:AI?
« Last Edit: March 01, 2013, 05:47:33 pm by Wuzzy »

Offline DarkRain

  • Project Coder
  • Captain
  • ***
  • Posts: 746
    • View Profile
Re: UFO:AI doesn't load any translations
« Reply #1 on: March 03, 2013, 11:29:39 pm »
It seems like this is your problem

Offline Wuzzy

  • Cannon Fodder
  • **
  • Posts: 5
    • View Profile
Re: UFO:AI doesn't load any translations
« Reply #2 on: March 06, 2013, 03:44:18 pm »
Thanks, that helped.

Okay, when I start the game with
Code: [Select]
ufo +set fs_i18ndir /usr/share/ufoai/base/i18n, the languages loads fine. I didn’t know this is even possible. For some reason, only the "No Language" option is green, and everything else is grey. Does the color of the language list (green or grey) mean anything?

This is strange, as the bug has been fixed somewhere between 2.3.1 and 2.4, therefore it shouldn’t happen in 2.4 …
Could this mean the same bug has been accidently reintroduced?

Offline DarkRain

  • Project Coder
  • Captain
  • ***
  • Posts: 746
    • View Profile
Re: UFO:AI doesn't load any translations
« Reply #3 on: March 07, 2013, 04:11:46 am »
Green entries are the locales detected in your system, but you should be able to select greyed ones as well, as for the bug I think it was fixed *after* 2.4 came out, I remember at least one other 2.4 user being affected as well

Offline lordarpad

  • Cannon Fodder
  • **
  • Posts: 4
    • View Profile
Re: UFO:AI doesn't load any translations
« Reply #4 on: June 09, 2013, 09:36:03 pm »
I installed the game through Desura and I am having this issue too.