Language not changing

Do you need help? Ask here!

Bug reporting belongs here: http://developer.wz2100.net/newticket
casper
New user
Posts: 5
Joined: 29 Jul 2010, 17:16

Language not changing

Post by casper »

Version: 2.3.2
Platform: Linux x86 (Ubuntu Lucid 10.04 & Windows XP SP3)
I tried to switch the language into Chinese instead of system locale. However Warzone doesn't appear to change the language. It is fine for me to use English, but it will be better in Chinese(traditional) XD. No matter on Ubuntu or Win XP, I failed to switch the language. Can anybody help.
(Sorry for my poor english)
User avatar
vexed
Inactive
Inactive
Posts: 2538
Joined: 27 Jul 2010, 02:07

Re: Language not changing

Post by vexed »

I believe you need Chinese fonts installed for windows, not sure what you need to do on ubuntu.
/facepalm ...Grinch stole Warzone🙈🙉🙊 contra principia negantem non est disputandum
Super busy, don't expect a timely reply back.
casper
New user
Posts: 5
Joined: 29 Jul 2010, 17:16

Re: vexed

Post by casper »

Even I've installed the fonts, I still cannot switch the language in Windows
User avatar
vexed
Inactive
Inactive
Posts: 2538
Joined: 27 Jul 2010, 02:07

Re: Language not changing

Post by vexed »

Do you got screenshots ? Hit F10 key.
/facepalm ...Grinch stole Warzone🙈🙉🙊 contra principia negantem non est disputandum
Super busy, don't expect a timely reply back.
casper
New user
Posts: 5
Joined: 29 Jul 2010, 17:16

Here are the attachments

Post by casper »

Include screen shots and the config file
You do not have the required permissions to view the files attached to this post.
User avatar
Buginator
Professional
Professional
Posts: 3285
Joined: 04 Nov 2007, 02:20

Re: Language not changing

Post by Buginator »

Hi, can you post output, when you do --debug wz on your linux box ?
Set it back to English or default, and then pick Chinese again, then quit the game.

Thanks.
and it ends here.
casper
New user
Posts: 5
Joined: 29 Jul 2010, 17:16

Terminal Output

Post by casper »

Code: Select all

user@Ubuntu-X:~/warzone2100-2.3.3/src$ ./warzone2100 --debug
info    |06:25:30: [setLocaleUnix] Failed to set locale to "de_DE.UTF-8"
info    |06:25:30: [setLocaleUnix] Failed to set locale to "de_DE"
info    |06:25:30: [setLocaleUnix] Failed to set locale to "en_GB.UTF-8"
info    |06:25:30: [setLocaleUnix] Failed to set locale to "en_GB"
info    |06:25:30: [setLocaleUnix] Failed to set locale to "es_ES.UTF-8"
info    |06:25:30: [setLocaleUnix] Failed to set locale to "es_ES"
info    |06:25:30: [setLocaleUnix] Failed to set locale to "et_EE.UTF-8"
info    |06:25:30: [setLocaleUnix] Failed to set locale to "et_EE"
info    |06:25:30: [setLocaleUnix] Failed to set locale to "fr_FR.UTF-8"
info    |06:25:30: [setLocaleUnix] Failed to set locale to "fr_FR"
info    |06:25:30: [setLocaleUnix] Failed to set locale to "hr_HR.UTF-8"
info    |06:25:30: [setLocaleUnix] Failed to set locale to "hr_HR"
info    |06:25:30: [setLocaleUnix] Failed to set locale to "it_IT.UTF-8"
info    |06:25:30: [setLocaleUnix] Failed to set locale to "it_IT"
info    |06:25:30: [setLocaleUnix] Failed to set locale to "ko_KR.UTF-8"
info    |06:25:30: [setLocaleUnix] Failed to set locale to "ko_KR"
info    |06:25:30: [setLocaleUnix] Failed to set locale to "pl.UTF-8"
info    |06:25:30: [setLocaleUnix] Failed to set locale to "pl"
info    |06:25:30: [setLocaleUnix] Failed to set locale to "pt_BR.UTF-8"
info    |06:25:30: [setLocaleUnix] Failed to set locale to "pt_BR"
info    |06:25:30: [setLocaleUnix] Failed to set locale to "pt_PT.UTF-8"
info    |06:25:30: [setLocaleUnix] Failed to set locale to "pt_PT"
info    |06:25:30: [setLocaleUnix] Failed to set locale to "ru_RU.UTF-8"
info    |06:25:30: [setLocaleUnix] Failed to set locale to "ru_RU"
info    |06:25:30: [setLocaleUnix] Failed to set locale to "sl.UTF-8"
info    |06:25:30: [setLocaleUnix] Failed to set locale to "sl"
info    |06:25:30: [setLocaleUnix] Failed to set locale to "uk_UA.UTF-8"
info    |06:25:30: [setLocaleUnix] Failed to set locale to "uk_UA"
Last edited by casper on 02 Aug 2010, 12:33, edited 1 time in total.
casper
New user
Posts: 5
Joined: 29 Jul 2010, 17:16

Another one

Post by casper »

I have updated to warzone 2.3.3 and remove the settings in my home folder

Code: Select all

user@Ubuntu-X:~/warzone2100-2.3.3/src$ ./warzone2100 --debug wz
wz      |06:30:30: [main] Using language: 
wz      |06:30:30: [initialize_ConfigDir] Write dir: /home/angus/.warzone2100-2.3/
wz      |06:30:30: [initialize_ConfigDir] Base dir: /home/angus/warzone2100-2.3.3/src/
wz      |06:30:30: [main] Warzone 2100 - Version 2.3.3
wz      |06:30:30: [registry_load] Loading the registry from [directory: /home/angus/.warzone2100-2.3/] config
wz      |06:30:30: [openLoadFile] Reading...[directory: /home/angus/.warzone2100-2.3/] config
wz      |06:30:30: [registry_load] Parsing the registry from [directory: /home/angus/.warzone2100-2.3/] config
wz      |06:30:30: [setLanguage] Setting language to "System locale" ()
wz      |06:30:30: [setLocaleUnix] Requested locale "", got "zh_HK.UTF-8" instead
wz      |06:30:30: [registry_save] Saving the registry to [directory: /home/angus/.warzone2100-2.3/] config
wz      |06:30:30: [saveFile] We are to write (config) of size 724
wz      |06:30:30: [saveFile] Successfully wrote to /home/angus/.warzone2100-2.3//config with 724 bytes
wz      |06:30:30: [registry_save] Saving the registry to [directory: /home/angus/.warzone2100-2.3/] config
wz      |06:30:30: [saveFile] We are to write (config) of size 724
wz      |06:30:30: [saveFile] Successfully wrote to /home/angus/.warzone2100-2.3//config with 724 bytes
wz      |06:30:30: [saveConfig] Writing prefs to registry
wz      |06:30:30: [registry_save] Saving the registry to [directory: /home/angus/.warzone2100-2.3/] config
wz      |06:30:30: [saveFile] We are to write (config) of size 724
wz      |06:30:30: [saveFile] Successfully wrote to /home/angus/.warzone2100-2.3//config with 724 bytes
wz      |06:30:30: [registerSearchPath] registerSearchPath: Registering /home/angus/.warzone2100-2.3/ at priority 2
wz      |06:30:30: [rebuildSearchPath] *** Switching to multiplay mods ***
wz      |06:30:30: [registerSearchPath] registerSearchPath: Registering /home/angus/warzone2100-2.3.3/data/ at priority 3
wz      |06:30:30: [rebuildSearchPath] Cleaning up
wz      |06:30:30: [rebuildSearchPath] *** Switching to multiplay mods ***
wz      |06:30:30: [printSearchPath] Search paths:
wz      |06:30:30: [printSearchPath]     [/home/angus/.warzone2100-2.3/]
wz      |06:30:30: [printSearchPath]     [/home/angus/warzone2100-2.3.3/data/mp]
wz      |06:30:30: [printSearchPath]     [/home/angus/warzone2100-2.3.3/data/mp.wz]
wz      |06:30:30: [printSearchPath]     [/home/angus/warzone2100-2.3.3/data/]
wz      |06:30:30: [printSearchPath]     [/home/angus/warzone2100-2.3.3/data/base]
wz      |06:30:30: [printSearchPath]     [/home/angus/warzone2100-2.3.3/data/base.wz]
wz      |06:30:30: [scanDataDirs] gamedesc.lev found at /home/angus/warzone2100-2.3.3/data/base
wz      |06:30:30: [loadLevFile] Loading lev file: gamedesc.lev
wz      |06:30:30: [openLoadFile] Reading...[directory: /home/angus/warzone2100-2.3.3/data/base] gamedesc.lev
wz      |06:30:30: [loadLevFile] Loading lev file: addon.lev
wz      |06:30:30: [openLoadFile] Reading...[directory: /home/angus/warzone2100-2.3.3/data/mp] addon.lev
wz      |06:30:31: [PlayList_Read] Reading...[directory: /home/angus/warzone2100-2.3.3/data/] music/music.wpl
wz      |06:30:31: [radarInitVars] Resetting radar zoom to 16
wz      |06:30:31: [radarSize] radar=(1256,1000) tex=(0,0) size=(0,0)
wz      |06:30:31: [resLoad] resLoad: loading [directory: /home/angus/warzone2100-2.3.3/data/mp] wrf/frontend.wrf
wz      |06:30:31: [openLoadFile] Reading...[directory: /home/angus/warzone2100-2.3.3/data/mp] wrf/frontend.wrf
wz      |06:30:31: [openLoadFile] Reading...[directory: /home/angus/warzone2100-2.3.3/data/base] images/intfac.img
wz      |06:30:31: [openLoadFile] Reading...[directory: /home/angus/warzone2100-2.3.3/data/base] images/frontend.img
wz      |06:30:31: [sound_LoadTrackFromFile] Reading...[directory: /home/angus/warzone2100-2.3.3/data/base] audio/sfx/interfce/beep1.ogg
wz      |06:30:31: [sound_LoadTrackFromFile] Reading...[directory: /home/angus/warzone2100-2.3.3/data/base] audio/sfx/interfce/beep2.ogg
wz      |06:30:31: [sound_LoadTrackFromFile] Reading...[directory: /home/angus/warzone2100-2.3.3/data/base] audio/sfx/interfce/beep4.ogg
wz      |06:30:31: [sound_LoadTrackFromFile] Reading...[directory: /home/angus/warzone2100-2.3.3/data/base] audio/sfx/interfce/beep5.ogg
wz      |06:30:31: [sound_LoadTrackFromFile] Reading...[directory: /home/angus/warzone2100-2.3.3/data/base] audio/sfx/interfce/beep6.ogg
wz      |06:30:31: [sound_LoadTrackFromFile] Reading...[directory: /home/angus/warzone2100-2.3.3/data/base] audio/sfx/interfce/beep7.ogg
wz      |06:30:31: [sound_LoadTrackFromFile] Reading...[directory: /home/angus/warzone2100-2.3.3/data/base] audio/sfx/interfce/beep8.ogg
wz      |06:30:31: [sound_LoadTrackFromFile] Reading...[directory: /home/angus/warzone2100-2.3.3/data/base] audio/sfx/interfce/beep9.ogg
wz      |06:30:31: [sound_LoadTrackFromFile] Reading...[directory: /home/angus/warzone2100-2.3.3/data/base] audio/sfx/interfce/gmeshtdn.ogg
wz      |06:30:31: [dataAudioCfgLoad] Reading...[directory: /home/angus/warzone2100-2.3.3/data/base] audio/frontaud.cfg
wz      |06:30:31: [strresLoad] Reading...[directory /home/angus/warzone2100-2.3.3/data/mp] messages/strings/names.txt
wz      |06:30:31: [cdAudio_OpenTrack] Reading...[directory: /home/angus/warzone2100-2.3.3/data/] music/menu.ogg
wz      |06:30:36: [setLanguage] Setting language to "Deutsch" (de)
info    |06:30:36: [setLocaleUnix] Failed to set locale to "de_DE.UTF-8"
info    |06:30:36: [setLocaleUnix] Failed to set locale to "de_DE"
wz      |06:30:36: [setLanguage] Setting language to "English (United Kingdom)" (en_GB)
info    |06:30:36: [setLocaleUnix] Failed to set locale to "en_GB.UTF-8"
info    |06:30:36: [setLocaleUnix] Failed to set locale to "en_GB"
wz      |06:30:36: [setLanguage] Setting language to "Español" (es)
info    |06:30:36: [setLocaleUnix] Failed to set locale to "es_ES.UTF-8"
info    |06:30:36: [setLocaleUnix] Failed to set locale to "es_ES"
wz      |06:30:36: [setLanguage] Setting language to "Eesti Keel" (et_EE)
info    |06:30:36: [setLocaleUnix] Failed to set locale to "et_EE.UTF-8"
info    |06:30:36: [setLocaleUnix] Failed to set locale to "et_EE"
wz      |06:30:36: [setLanguage] Setting language to "Français" (fr)
info    |06:30:36: [setLocaleUnix] Failed to set locale to "fr_FR.UTF-8"
info    |06:30:36: [setLocaleUnix] Failed to set locale to "fr_FR"
wz      |06:30:36: [setLanguage] Setting language to "Hrvatski" (hr)
info    |06:30:36: [setLocaleUnix] Failed to set locale to "hr_HR.UTF-8"
info    |06:30:36: [setLocaleUnix] Failed to set locale to "hr_HR"
wz      |06:30:36: [setLanguage] Setting language to "Italiano" (it)
info    |06:30:36: [setLocaleUnix] Failed to set locale to "it_IT.UTF-8"
info    |06:30:36: [setLocaleUnix] Failed to set locale to "it_IT"
wz      |06:30:36: [setLanguage] Setting language to "한국어" (ko_KR)
info    |06:30:36: [setLocaleUnix] Failed to set locale to "ko_KR.UTF-8"
info    |06:30:36: [setLocaleUnix] Failed to set locale to "ko_KR"
wz      |06:30:36: [setLanguage] Setting language to "Polski" (pl)
info    |06:30:36: [setLocaleUnix] Failed to set locale to "pl.UTF-8"
info    |06:30:36: [setLocaleUnix] Failed to set locale to "pl"
wz      |06:30:36: [setLanguage] Setting language to "Português Brasileiro" (pt_BR)
info    |06:30:36: [setLocaleUnix] Failed to set locale to "pt_BR.UTF-8"
info    |06:30:36: [setLocaleUnix] Failed to set locale to "pt_BR"
wz      |06:30:36: [setLanguage] Setting language to "Português" (pt)
info    |06:30:36: [setLocaleUnix] Failed to set locale to "pt_PT.UTF-8"
info    |06:30:36: [setLocaleUnix] Failed to set locale to "pt_PT"
wz      |06:30:36: [setLanguage] Setting language to "Русский" (ru)
info    |06:30:36: [setLocaleUnix] Failed to set locale to "ru_RU.UTF-8"
info    |06:30:36: [setLocaleUnix] Failed to set locale to "ru_RU"
wz      |06:30:36: [setLanguage] Setting language to "Slovenski" (sl)
info    |06:30:36: [setLocaleUnix] Failed to set locale to "sl.UTF-8"
info    |06:30:36: [setLocaleUnix] Failed to set locale to "sl"
wz      |06:30:36: [setLanguage] Setting language to "Українська" (uk_UA)
info    |06:30:36: [setLocaleUnix] Failed to set locale to "uk_UA.UTF-8"
info    |06:30:36: [setLocaleUnix] Failed to set locale to "uk_UA"
wz      |06:30:36: [setLanguage] Setting language to "漢語" (zh_TW)
wz      |06:30:43: [frontendShutdown] == Shuting down frontend ==
wz      |06:30:43: [saveConfig] Writing prefs to registry
wz      |06:30:43: [registry_save] Saving the registry to [directory: /home/angus/.warzone2100-2.3/] config
wz      |06:30:43: [saveFile] We are to write (config) of size 729
wz      |06:30:43: [saveFile] Successfully wrote to /home/angus/.warzone2100-2.3//config with 729 bytes
wz      |06:30:43: [saveConfig] Writing prefs to registry
wz      |06:30:43: [registry_save] Saving the registry to [directory: /home/angus/.warzone2100-2.3/] config
wz      |06:30:43: [saveFile] We are to write (config) of size 729
wz      |06:30:43: [saveFile] Successfully wrote to /home/angus/.warzone2100-2.3//config with 729 bytes