I can't change language

Do you need help? Ask here!

Bug reporting belongs here: http://developer.wz2100.net/newticket
amuchamu
Greenhorn
Posts: 7
Joined: 16 Apr 2008, 22:13
Location: Zaragoza, Spain

I can't change language

Post by amuchamu »

Hi again

I got a problem, and I don't know if its a bug, I thing is my system. I can't change the language on "Warzone 2100 - Version TRUNK r4675 (modified locally) - Built Apr 18 2008 - DEBUG" (and earlier versions). This is the debug output:
wz      : Setting language to "English" (en)
error  : Failed to set locale to "en_US.UTF-8"
error  : Failed to set locale to "en_US"
wz      : Setting language to "Norwegian" (nb)
error  : Failed to set locale to "nb_NO.UTF-8"
error  : Failed to set locale to "nb_NO"
wz      : Setting language to "German" (de)
error  : Failed to set locale to "de_DE.UTF-8"
error  : Failed to set locale to "de_DE"
wz      : Setting language to "Danish" (da)
error  : Failed to set locale to "da_DK.UTF-8"
error  : Failed to set locale to "da_DK"
wz      : Setting language to "French" (fr)
error  : Failed to set locale to "fr_FR.UTF-8"
error  : Failed to set locale to "fr_FR"
wz      : Setting language to "Italian" (it)
error  : Failed to set locale to "it_IT.UTF-8"
error  : Failed to set locale to "it_IT"
wz      : Setting language to "Latin" (la)
error  : Failed to set locale to "la.UTF-8"
error  : Failed to set locale to "la"
wz      : Setting language to "Dutch" (nl)
error  : Failed to set locale to "nl_NL.UTF-8"
error  : Failed to set locale to "nl_NL"
wz      : Setting language to "Portuegese" (pt)
error  : Failed to set locale to "pt_PT.UTF-8"
error  : Failed to set locale to "pt_PT"
wz      : Setting language to "Russian" (ru)
error  : Failed to set locale to "ru_RU.UTF-8"
error  : Failed to set locale to "ru_RU"
wz      : Setting language to "System locale" ()
wz      : Requested locale "", got "es_ES.utf8" instead
And the game continues in English, as at the beginning. I don't know what is the problem and can't find solution. quesoglc 0.7.1-1, freetype2 2.3.5-1, fontconfig 2.5.0-1 installed and flex 2.5.35 are installed on arch linux 2.6.24.

$LANG=es_ES.utf8

Any idea? I want to prove my translation  :-[

Thanks
User avatar
Buginator
Professional
Professional
Posts: 3285
Joined: 04 Nov 2007, 02:20

Re: I can't change language

Post by Buginator »

Does your locale work with other stuff?  Or is it just with warzone that you have a problem with ?
and it ends here.
amuchamu
Greenhorn
Posts: 7
Joined: 16 Apr 2008, 22:13
Location: Zaragoza, Spain

Re: I can't change language

Post by amuchamu »

Only with warzone.

Updated to r4834, i can't change language but now the game speacks spanish :)
Last edited by amuchamu on 28 Apr 2008, 22:12, edited 1 time in total.
User avatar
Buginator
Professional
Professional
Posts: 3285
Joined: 04 Nov 2007, 02:20

Re: I can't change language

Post by Buginator »

amuchamu wrote: Only with warzone.

Updated to r4834, i can't change language but now the game speacks spanish :)
Hmm, you should be able to pick whatever language you want, as long as you have the correct files installed.
and it ends here.
User avatar
DevUrandom
Regular
Regular
Posts: 1690
Joined: 31 Jul 2006, 23:14

Re: I can't change language

Post by DevUrandom »

I assume this is Linux?

You need to "make install" for gettext to find the files in the correct location.
Sadly this is needed and there does not seem to be a way around it. (If someone knows GNU gettext better than us, please share your knowledge. :) )