UFO: Alien Invasion Issue Tracker
UFO: Alien Invasion
Go to the previous open issue
Go to the previous issue (open or closed)
star_faded.png
Please log in to bookmark issues
icon_project.png UFO: Alien Invasion / Closed Bug report #2888 Language files does not load, fs_i18ndir is not set.
Go to the next issue (open or closed)
Go to the next open issue
This issue has been closed with status "Closed" and resolution "Not determined".
Issue basics
  • Type of issue
    Bug report
  • Category
    User interface
  • Targetted for
    Not determined
  • Status
    Closed
  • Priority
    3. Normal
User pain
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
Affected by this issue (1)
People involved
Times and dates
  • Posted at
  • Last updated
  • Estimated time
    Not estimated
Issue details
  • Resolution
    Not determined
  • Reproducability
    Not determined
  • Severity
    Not determined
  • Complexity
    Not determined
  • Platform
    Not determined
  • Architecture
    Not determined
Attachments (0)
There is nothing attached to this issue
Duplicate issues (0)
This issue does not have any duplicates
Description
[http://sourceforge.net/p/ufoai/bugs/2888 Item 2888] imported from sourceforge.net tracker on 2013-01-28 19:50:51

I am one of the maintainers of the Mandriva ufoai packages, and have discovered a problem with the latest stable, version 2.3.1. We have among others a patch removes the code that create the ufo.sh script, due to a few Mandriva policies regarding installed packages. One other reason being te shell script doesn't work if one does Not have the source dir, which those who install just te rpm's don't have anyway.. ;-)

When one starts the game, after having run make, make install etc. and does NOT run the game from the game directory (~/.ufoai/2.3.1/) or the source directory (eg: ~/download/games/ufoai-2.3.1-source/) or even remove the source directory after installin, the translation files are Not loaded. Not even the english translation is loaded. This results in NO text information on any items of any kind, like in-game e-mails, ufopedia, buy-sell screen etc. See screenshots: http://www.solbu.net/bilder/screenshoots/ufoai/

However if the game is launched using this command "ufo +set fs_i18ndir /usr/share/locale" everything loads fine.
Meaning, te game does not honour the configure flag "--localedir=/usr/share/locale". It should be noted however that the language files do install into the correct directory. The game just seems to ignore them unless the above mentioned command line switch is used.

This is a huge anoyance on anyone who install the game using "make install" and needs to be fixed.
Relying on a shell script to cd into the game directory is not the correct way to do this.
===== Comments Ported from Sourceforge =====

====== tlh2000 (2012-09-23 17:46:06.144000) ======

this is fixed in master

- **status**: open --> closed
Steps to reproduce this issue
Nothing entered.
Todos (0 / 0)
Issue created
footer_logo.png The Bug Genie 4.3.1 | Support | Feedback spinning_16.gif