Language-problem on Kubuntu
Language-problem on Kubuntu
I've built warzone from source on my Kubuntu 64bit because the version in the rep is outdated.
Since I'm really unexperienced with building anything from source, i guess it's rather a mistake I've made than a bug:
When I try to set language to german, i get
info |07:48:07: [setLocaleUnix:325] Failed to set locale to "ca_ES.UTF-8"
info |07:48:07: [setLocaleUnix:325] Failed to set locale to "ca"
error |07:48:07: [widgSetString:1161] widgSetString: couldn't get widget from i
As far as i know, ca_ES is catalan (and ofcourse not present on my system), instead it should set locale to de_DE.UTF-8?
Since I'm really unexperienced with building anything from source, i guess it's rather a mistake I've made than a bug:
When I try to set language to german, i get
info |07:48:07: [setLocaleUnix:325] Failed to set locale to "ca_ES.UTF-8"
info |07:48:07: [setLocaleUnix:325] Failed to set locale to "ca"
error |07:48:07: [widgSetString:1161] widgSetString: couldn't get widget from i
As far as i know, ca_ES is catalan (and ofcourse not present on my system), instead it should set locale to de_DE.UTF-8?
Re: Language-problem on Kubuntu
Ubuntu builds are located here: http://www.playdeb.net/software/Warzone2100
As for your specific problem, what does your config file have in it ?
You can manually change it there, and see if it works.
As for your specific problem, what does your config file have in it ?
You can manually change it there, and see if it works.
Sorry, this account has been deactivated.
Please post issues in Website feedback instead, only Moderators can read things there.
Please post issues in Website feedback instead, only Moderators can read things there.
Re: Language-problem on Kubuntu
I'm not sure if you mean the build-config or the gamesettings, but i guess you mean the file ~/.warzone2100-<version>/configStaff wrote:As for your specific problem, what does your config file have in it ?
You can manually change it there, and see if it works.
When i set the language to german and close the game, i have "language=de" in the config-file, but when i start the game it is english.
When i start the game in Konsole (to see the errors) and change the language, i get the following errors:
Game is started with language set to german:
german -> en_us:
info |01:47:25: [setLocaleUnix:325] Failed to set locale to "el_GR.UTF-8" (greek?)
info |01:47:25: [setLocaleUnix:325] Failed to set locale to "el"
error |01:47:25: [widgSetString:1161] widgSetString: couldn't get widget from id
en_us->english (united kingdom):
last message repeated 2 times
english (united kingdom)->system locale:
last message repeated 1 times (total 3 repeats)
info |01:48:36: [setLocaleUnix:325] Failed to set locale to "es_ES.UTF-8" (spanish?)
info |01:48:36: [setLocaleUnix:325] Failed to set locale to "es_ES"
info |01:48:36: [setLocaleUnix:325] Failed to set locale to "et_EE.UTF-8" (?)
info |01:48:36: [setLocaleUnix:325] Failed to set locale to "et"
info |01:48:36: [setLocaleUnix:325] Failed to set locale to "fr_FR.UTF-8" (french?)
info |01:48:36: [setLocaleUnix:325] Failed to set locale to "fr_FR"
info |01:48:36: [setLocaleUnix:325] Failed to set locale to "hu_HU.UTF-8" (hungarian?)
info |01:48:36: [setLocaleUnix:325] Failed to set locale to "hu_HU"
info |01:48:36: [setLocaleUnix:325] Failed to set locale to "it_IT.UTF-8" (italian?)
info |01:48:36: [setLocaleUnix:325] Failed to set locale to "it_IT"
info |01:48:36: [setLocaleUnix:325] Failed to set locale to "ko_KR.UTF-8" (croatian?)
info |01:48:36: [setLocaleUnix:325] Failed to set locale to "ko"
info |01:48:36: [setLocaleUnix:325] Failed to set locale to "nl_NL.UTF-8" (netherlandic?)
info |01:48:36: [setLocaleUnix:325] Failed to set locale to "nl_NL"
info |01:48:36: [setLocaleUnix:325] Failed to set locale to "pl_PL.UTF-8" (polish?)
info |01:48:36: [setLocaleUnix:325] Failed to set locale to "pl_PL"
info |01:48:36: [setLocaleUnix:325] Failed to set locale to "pt_BR.UTF-8" (?)
info |01:48:36: [setLocaleUnix:325] Failed to set locale to "pt_BR"
info |01:48:36: [setLocaleUnix:325] Failed to set locale to "pt_PT.UTF-8" (?)
info |01:48:36: [setLocaleUnix:325] Failed to set locale to "pt_PT"
info |01:48:36: [setLocaleUnix:325] Failed to set locale to "ru_RU.UTF-8" (russian?)
info |01:48:36: [setLocaleUnix:325] Failed to set locale to "ru_RU"
info |01:48:36: [setLocaleUnix:325] Failed to set locale to "tr_TR.UTF-8" (turkish?)
info |01:48:36: [setLocaleUnix:325] Failed to set locale to "tr_TR"
info |01:48:36: [setLocaleUnix:325] Failed to set locale to "uk_UA.UTF-8" (australian english?)
info |01:48:36: [setLocaleUnix:325] Failed to set locale to "uk"
error |01:48:36: [widgSetString:1161] widgSetString: couldn't get widget from id
(of course all those languages are not on my system)
system locale -> german
info |01:49:03: [setLocaleUnix:325] Failed to set locale to "ca_ES.UTF-8" (catalanian spanish?)
info |01:49:03: [setLocaleUnix:325] Failed to set locale to "ca"
error |01:49:03: [widgSetString:1161] widgSetString: couldn't get widget from id
(btw: i have version 3.1.1)
I think the game constantly tries to load the wrong language. Because none of those languages are on my system, it falls back to english...
-
cybersphinx
- Inactive

- Posts: 1695
- Joined: 01 Sep 2006, 19:17
Re: Language-problem on Kubuntu
You need to install the game for it to find the language files (e.g. "./configure --prefix=/home/user/warzone; make; cd po; make install" if you don't want to install the whole game). The fail messages just mean you don't have the corresponding locales on your system.
We want information... information... information.
Re: Language-problem on Kubuntu
But why is the game trying to load catalan (ca_es) when i set the language to german? it should load de_de which also exists on my system...cybersphinx wrote:You need to install the game for it to find the language files (e.g. "./configure --prefix=/home/user/warzone; make; cd po; make install" if you don't want to install the whole game). The fail messages just mean you don't have the corresponding locales on your system.
I didn't install the game, i downloaded the source, installed the dependencies with "apt-get build-deps warzone2100" and compiled and run it as described in the compile-guide (http://developer.wz2100.net/wiki/CompileGuideLinux, step 3 and 4)
-
ektor11100
- New user
- Posts: 1
- Joined: 02 Jul 2014, 16:45
Re: Language-problem on Kubuntu
Hi everybody,
sorry for my english, I'm french
I Compile the game from the sources find here : http://sourceforge.net/projects/warzone2100/
following this guide : http://developer.wz2100.net/wiki/CompileGuideLinux
And I have it seem the same problem of language. It's look like when I try to change in french, it don't find the "po" directory ?
sorry for my english, I'm french
I Compile the game from the sources find here : http://sourceforge.net/projects/warzone2100/
following this guide : http://developer.wz2100.net/wiki/CompileGuideLinux
And I have it seem the same problem of language. It's look like when I try to change in french, it don't find the "po" directory ?
- Terminator
- Regular

- Posts: 1077
- Joined: 05 Aug 2006, 13:46
- Location: Ukraine
- Contact:
Re: Language-problem on Kubuntu
I have the same issue. Could it be caused by capitalisation ? or by "minus" character
Looks the same as above
utf-8 != utf8
Code: Select all
kaynix@kay-X75VB:~/Games/warzone21003.1.1/warzone2100-3.1.1/po$ locale -a
C
C.UTF-8
en_AG
en_AG.utf8
en_AU.utf8
en_BW.utf8
en_CA.utf8
en_DK.utf8
en_GB.utf8
en_HK.utf8
en_IE.utf8
en_IN
en_IN.utf8
en_NG
en_NG.utf8
en_NZ.utf8
en_PH.utf8
en_SG.utf8
en_US.utf8
en_ZA.utf8
en_ZM
en_ZM.utf8
en_ZW.utf8
POSIX
ru_RU.utf8
ru_UA.utf8
uk_UA.utf8
Code: Select all
error |03:27:18: [setLanguage:365] Requested language "en_US" not supported.
info |03:27:21: [sliderCreate:92] sliderCreate: slider position greater than stops (90/16)
info |03:27:21: [sliderCreate:92] Assert in Warzone: slider.cpp:92 (false), last script event: '<none>'
info |03:27:22: [setLocaleUnix:325] Failed to set locale to "ca_ES.UTF-8"
info |03:27:22: [setLocaleUnix:325] Failed to set locale to "ca"Death is the only way out... sh*t Happens !
Russian-speaking Social network Group http://vk.com/warzone2100
Russian-speaking Social network Group http://vk.com/warzone2100
