UFO:Alien Invasion
General => Discussion => Topic started by: sorrenti on April 02, 2007, 03:42:01 am
-
a simple question: how to change the game language?
the installer (or the game) seems to automatically detect the os language, and the game use it...
but I don't want to play a game half italian and half english!!!
how to set the english language?
deleting the language folders, except the english one doesn't work...
I searched the registry but no results...
some help? thanks!
-
are you playing with windows?
open the game console (^-key or shift+esc) and type "s_language en"
or.. copy the file base/i18n/en/LC_MESSAGES/ufoai.mo to base/i18n/it/LC_MESSAGES/ufoai.mo
linux:
start with "LANG=<whatever>; ./ufo"
-
I added a language section in the manual some time ago:
Manual/Language (http://ufoai.ninex.info/wiki/index.php/Manual/Language)
Will add the info from mattn (for linux) there soon.
Werner
-
thanks to everybody, now I can read the ufopaedia!
-
Hi!
I have the same problem as the first poster. I'm on linux, the value of my LANG environment variable is "hu-HU.UTF-8" from default. (Of course without ""s.)
Neither Mattn's ufo-starting solution, nor the symlinks didn't work for me. :(
I have created three symlinks to the i18n directory : hu, hu-HU and hu-HU.UTF-8, all of these are pointing to the en dir.
Any ideas?
Thanks,
E.
-
... And some funny startup output:
"...
execing default.cfg
execing config.cfg
execing keys.cfg
Hostname: bagoly
IP: 127.0.0.1
...using language: C
Console initialized."
:)
So, how can I find what language is the used actually by the game? :)
[Edit: I realized (or: I guess:) this "C" value is for the game's auto language detection. ... It is not too informative anyway. :>]
-
So, I found a third "solution" for the language problem.
Here it is:
- in your home there is an .ufoai directory,
- open the .ufoai/base/config.cfg file with a text editor,
- set the s_language to "en" (or what you want). Warning: the line containing s_language setting _exists_ yet in the file! (DON'T write a new line, modify the existing one!),
- enjoy!
-
I'm sorry to steal this thread, but there is no *.cfg-file anywhere in my UFO AI folders. I've tried uninstalling and reinstalling, but to no avail. :(
*edit*
When I try "s_language en" in the console I only get;
...could not set to language: en
...could not set to system language
My guess is it's because there's no config-file to write to?
*edit 2*
My troubles seem to be over for the time being. I just installed the 2.1(.1) beta over the old 2.1 installation and now it works. :D
There's still no config-file, though. Hmm. :?
-
I'm sorry to steal this thread, but there is no *.cfg-file anywhere in my UFO AI folders. I've tried uninstalling and reinstalling, but to no avail. :(
if you are using linux, the config file can be found in ~/.ufoai/base - it's a hidden folder in your home directory.
in nautilus (gnome desktop), you can see hidden files by pressing ctrl+h, or in view>show hidden files
- in your home there is an .ufoai directory,
- open the .ufoai/base/config.cfg file with a text editor
-
I'm on Windows XP.
Sorry, I forgot to write what OS I use.
-
it's in you application data folder
-
Yes, you are entirely correct. Thank you. It was driving me nuts.
Anyway, as I stated, everything was ok after I installed 2.1(.1) over 2.1.
Thanks anyhoo. ;)
-
Hello,
Thank you for this great game, but I have a problem with the language files.
I'm playing on a linux system (ubuntu feisty, fresh ufoai install, 2.1.1) and I tried to start the game as followed:
$ LANG=de; ufoai
But the instead of ingame text I alway see something like "txt_standard_campaign".
On the console I found following output:
...could not set to language: de
...could not set to system language
I also tried to set language to "en" and to edit the language value in "config.cfg" but nothing helps.
Am I missing some gettext files? Or this there another solution?
Thanks.
-
Hello,
I started the game this morning and now I can read all texts :shock:
Now I have to secure some landing scape :twisted: