UFO:Alien Invasion

Archive => Bugs in older version (2.4) => Topic started by: ChemBro on May 01, 2012, 10:01:02 am

Title: No information text?
Post by: ChemBro on May 01, 2012, 10:01:02 am
I installed UFO: AI 2.4 from the Arch Linux repositories and started a campaign and somehow, there is not a single sentence of information, no story, no text at all. All I get is "introduction_sentence_1" or "grenade_launcher_txt" or "mail_txt".

I played previous versions and they had every text in it.

Is this intended or a bug or what's wrong here?
Title: Re: No information text?
Post by: geever on May 01, 2012, 12:11:58 pm
I installed UFO: AI 2.4 from the Arch Linux repositories and started a campaign and somehow, there is not a single sentence of information, no story, no text at all. All I get is "introduction_sentence_1" or "grenade_launcher_txt" or "mail_txt".
Is this intended or a bug or what's wrong here?

It can be anything, but most probably packager's mistake.
Not compiled language files, missing lang files.

Check the language setting in options menu if it is on 'No Language' and if not, contact the package maintainer.

-geever
Title: Re: No information text?
Post by: ChemBro on May 01, 2012, 04:07:01 pm
Check the language setting in options menu if it is on 'No Language' and if not, contact the package maintainer.

I checked German, English and No Language beforehand and the result is always the same. I'll contact the packager.

Edit: Okay, contacting the packager might be not so easy... :-/
Title: Re: No information text?
Post by: ChemBro on May 04, 2012, 11:34:27 am
Could you elaborate on this one, if the packager is right or wrong in meaning, that this might be an upstream bug?

Arch Linux Bugreport on ufoai (https://bugs.archlinux.org/task/29695)

Quote
Description:
 If you launch the game from the home directory, you can't change language.
 I think the problem is somewhere in a relative path to lang file.
 When I launched the game from /usr/share/ufoai/ I found in strace log the following message:
 open("/usr/share/ufoai/base/i18n//ru/LC_MESSAGES/ufoai.mo", O_RDONLY) = 32
 But when I launched it from my home directory, I recieved:
 open("/home/alarm/base/i18n//ru/LC_MESSAGES/ufoai.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
Title: Re: No information text?
Post by: geever on May 04, 2012, 11:42:33 am
On starting the game it prints whicg "game directories" it use, locale files should be in one of these.

-geever
Title: Re: No information text?
Post by: drane on March 11, 2013, 12:02:12 pm
yes why not.
Title: Re: No information text?
Post by: Geek McBean on May 14, 2013, 07:09:14 pm
I've just installed this on Arch Linux and found the same problem. I found this workaround on SourceForge: http://sourceforge.net/p/ufoai/bugs/3296/ - looks like a minor issue with the packaging for Arch leaving the program unable to find the internationalisation directory.

So in short add the following line to the config file: ~/.ufoai/2.4/base/config.cfg
Code: [Select]
set fs_i18ndir "/usr/share/ufoai/base/i18n/" a
Title: Re: No information text?
Post by: aa_ on July 22, 2013, 01:17:54 pm
 I get the same problem, but i compiled the game myself (2.5 git). What do i need to do to compile language files?
Title: Re: No information text?
Post by: geever on July 22, 2013, 07:24:48 pm
I get the same problem, but i compiled the game myself (2.5 git). What do i need to do to compile language files?

Easy:
Code: [Select]
$ make lang

-geever
Title: Re: No information text?
Post by: aa_ on July 23, 2013, 05:02:09 pm
 I did that, but there are no intro sentences, but all ufopedia entries are present.
Title: Re: No information text?
Post by: geever on July 24, 2013, 12:23:24 pm
I did that, but there are no intro sentences, but all ufopedia entries are present.

Which language? Maybe translation of some strings are not ready?

In 2.5 there are no "ids" anymore but the original English text should be shown if there is no translation for it.

Edit: As I see DarkRain committed some changes about intro text translations today; please update and recheck

-geever