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 #2435 Keymap Display Does Not Match Language Setting
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/2435 Item 2435] imported from sourceforge.net tracker on 2013-01-28 19:35:59

I ran into some very strange behavior yesterday when I installed the latest dev release of UFO: AI, from muton's compilation. The filename was ufoai-2.3-dev-29004-Debug-pentium3-O1-sse-7z-small-win32.exe and it installed quite handily. The issue also exists in build 29197 and presumably also in those above.

I use the English language version, but for some reason when going into the input options and looking at the keybindings, they appear in Finnish. I'm located in Finland, and that's what the Windows location info says, but I have an English language Windows XP Pro and I do not ever use any programs localized to Finnish if I can help it. I could change the language of the game interface to anything I chose from the list, but no matter what I picked, the keybinding explanations stayed in Finnish.

It seems like for some reason the game was using the selected interface language files for everything else, but it always mapped the keybindings to the Windows location info and picked that language for them. I found this HIGHLY annoying. It's also an issue for users who may be in other countries and have their PC location info set according to that and then get something that is only gibberish to them. It is also an issue if there are multiple users in the same household who speak different languages and only use one language in common.

There is a workaround:

Go to the [drive]:\[installdirectory]\UFOAI-2.3-dev\base\i18n directory, make a new directory (e.g. Archive) and dump all the language subdirectories except the one you want in there. This forces the game to use the only available language file to display the keybindings in the correct language regardless of any other settings. Obviously this workaround locks the game into that one language and you need to restore the appropriate archived directories to their normal location to have the option to change the interface language.


Technical information on my machine:

Core2Duo E6600 processor
2GB DDR2 RAM
ATI Radeon HD4870 graphics card
Asus P5B-Deluxe Wifi/AP motherboard

Windows XP Professional SP3 + all updates to date

Originally posted on the UFO:AI forums in thread http://ufoai.ninex.info/forum/index.php?topic=4555.0 (Bug or Feature? Keybindings & Language)
===== Comments Ported from Sourceforge =====

====== edirr (2010-04-26 21:57:50) ======

Mattn, I'm throwing this to you now so you can determine whose responsibility it is. Also changed priority, because this has been duplicated twice now. This instance has the most detailed description of what happens.
====== norabbitnofun (2011-01-30 14:37:25) ======

FYI - I reproduced the problem on 2.4-dev IA-32 jan 23 2011 Win32 DEBUG.
(I have French Windows install and tried selecting English as the game's setting.)
====== alextishin (2011-05-14 20:17:03) ======

Could be fixed by 324151945e33a31cebd28feef60b18990f682d26 -- can anyone check that? Was unable to reproduce exactly that bug on my system.
====== edirr (2011-05-15 11:26:35) ======

I will check this once my newest compilation finishes. I suspect this is a more specific symptom of the general language issue, but at the time this issue was reported, the language issue was not quite as badly broken as it later became.
====== edirr (2011-05-15 14:56:38) ======

Current language settings
====== edirr (2011-05-15 14:57:06) ======

Current Keybindings
====== edirr (2011-05-15 15:02:30) ======

The language selection bu g reported in issue ID: 3179704 has been fixed, but this issue is still in force. See attached screenshot.

Keybindings are still listed as per the Windows locale settings, suggesting that there is some environment variable somewhere that references the Windows locale settings instead of the UFO:AI language selection.

Since language selection is done from Options > Overall and Keybindings are viewed from Options > Gameplay > Show Keybindings, would the references be found there?

Note that this situation is reported with 2.4 debug build 1305455096 and the previous profile and savegames were deleted during uninstall, so this is an entirely fresh start in all respects.
====== tlh2000 (2011-05-15 16:13:28) ======

should be fixed in 56936c216c7d2ff884d72ada04e76a9299825047
====== edirr (2011-05-15 17:20:03) ======

Fix confirmed.
====== tlh2000 (2011-05-15 17:39:49) ======

then why reopen it? ;)
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