project-navigation
Personal tools

Author Topic: No information text?  (Read 13486 times)

ChemBro

  • Guest
No information text?
« 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?

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: No information text?
« Reply #1 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

ChemBro

  • Guest
Re: No information text?
« Reply #2 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... :-/
« Last Edit: May 01, 2012, 04:26:33 pm by ChemBro »

ChemBro

  • Guest
Re: No information text?
« Reply #3 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

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)

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: No information text?
« Reply #4 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

Offline drane

  • Cannon Fodder
  • **
  • Posts: 2
    • View Profile
Re: No information text?
« Reply #5 on: March 11, 2013, 12:02:12 pm »
yes why not.
« Last Edit: January 23, 2014, 04:46:18 am by drane »

Offline Geek McBean

  • Cannon Fodder
  • **
  • Posts: 1
  • Wannabe Linux Hero
    • View Profile
Re: No information text?
« Reply #6 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

Offline aa_

  • Rookie
  • ***
  • Posts: 31
    • View Profile
Re: No information text?
« Reply #7 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?

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: No information text?
« Reply #8 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

Offline aa_

  • Rookie
  • ***
  • Posts: 31
    • View Profile
Re: No information text?
« Reply #9 on: July 23, 2013, 05:02:09 pm »
 I did that, but there are no intro sentences, but all ufopedia entries are present.

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: No information text?
« Reply #10 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
« Last Edit: July 24, 2013, 12:34:17 pm by geever »