supertuxkart-sourceforge-migration / stk-migration-test2

0 stars 0 forks source link

Language Problems With French And French Canada. #279

Open supertuxkart-sourceforge-migration opened 10 years ago

supertuxkart-sourceforge-migration commented 10 years ago

Author: ssta

Language Problems With French And French Canada. Windows 7 x64 Sp1 Ultimate French Canada. SuperTuxKart 0.7.2 RC1

1) On "System Language, option" double click and after it select English, on a French Canada Window 7 x64.

2) At installation it select English.

3) If i select the language French or French Canada, support news messages, that is at bottom main screen, is in English.

4) Support news messages, that is at bottom main screen, is always in English, even if i select in example Espagnol.

Migrated-From: https://sourceforge.net/apps/trac/supertuxkart/ticket/279

supertuxkart-sourceforge-migration commented 10 years ago

Author: auria As mentioned on the forum, the message at the bottom of the screen not being translated is normal.

So the real issue here is that your system's language is not correctly detected in STK.

Assigning to Joerg since I don't know how language detection works on Windows

supertuxkart-sourceforge-migration commented 10 years ago

Author: hikerstk I am hoping that the issue is just an unexpected value in your environment: could you send me the output of 'set' (in 'Command Prompt')?

Thanks! Joerg

supertuxkart-sourceforge-migration commented 10 years ago

Author: ssta I verify the set at command prompt with a new windows 7 x64 sp1, the same set text.

Also this is the text in the popup cmd screen of the game. (I hope it will help)

Irrlicht Engine version 1.8.0-alpha Microsoft Windows 7 Ultimate Edition Service Pack 1 (Build 7601) [Data files will be fetched from: '.' Env var LANGUAGE = 'fr_CA' Env var LANGUAGE = 'fr_CA', which corresponds to French (Canada) Adding language fallback fr IrrDriver Creating NULL device Irrlicht Engine version 1.8.0-alpha Microsoft Windows 7 Ultimate Edition Service Pack 1 (Build 7601) [Trying OpenGL rendering. IrrDriver Trying to create device with 32 bits [Loading an xml file for installed addons: C:\Users\Utilisateur\AppData\ Roaming/supertuxkart/addons/addons_installed.xml Irrlicht Warning Could not open file of texture: C:\Users\Utilisateur\AppData\ Roaming/supertuxkart/addons/karts/amigakart/amiga kart_map_icon.png Warning Could not open file of texture: chinch-fur.rgb Warning Could not open file of texture: chinch-skin.rgb Warning Could not open file of texture: cup_Sphere.002.rgb startMusic : m_normal_filename=<./data//music/MayDayMayhem.ogg>, gain=0.5 [Trying OpenGL rendering. IrrDriver Trying to create device with 32 bits Warning Could not open file of texture: C:\Users\Utilisateur\AppData\ Roaming/supertuxkart/addons/karts/amigakart/amiga kart_map_icon.png Warning Could not open file of texture: chinch-fur.rgb Warning Could not open file of texture: chinch-skin.rgb Warning Could not open file of texture: cup_Sphere.002.rgb WARNING: Music not playing when it should be. Source state: 4116 [Trying OpenGL rendering. IrrDriver Trying to create device with 32 bits Warning Could not open file of texture: C:\Users\Utilisateur\AppData\ Roaming/supertuxkart/addons/karts/amigakart/amiga kart_map_icon.png Warning Could not open file of texture: chinch-fur.rgb Warning Could not open file of texture: chinch-skin.rgb Warning Could not open file of texture: cup_Sphere.002.rgb WARNING: Music not playing when it should be. Source state: 4116 [Trying OpenGL rendering. IrrDriver Trying to create device with 32 bits Warning Could not open file of texture: C:\Users\Utilisateur\AppData\ Roaming/supertuxkart/addons/karts/amigakart/amiga kart_map_icon.png Warning Could not open file of texture: chinch-fur.rgb Warning Could not open file of texture: chinch-skin.rgb Warning Could not open file of texture: cup_Sphere.002.rgb WARNING: Music not playing when it should be. Source state: 4116 Env var LANGUAGE = 'fr_CA' Env var LANGUAGE = 'fr_CA', which corresponds to French (Canada) Adding language fallback fr WARNING: Music not playing when it should be. Source state: 4116

supertuxkart-sourceforge-migration commented 10 years ago

Author: ssta Hi, ...

Clean install = SuperTuxKart 0.7.2 RC1

First time started =

Irrlicht Engine version 1.8.0-alpha Microsoft Windows 7 Ultimate Edition Service Pack 1 (Build 7601) [Data files will be fetched from: '.' creating directory <C:\Users\Utilisateur\AppData\Roaming/supertuxkart> creating directory <C:\Users\Utilisateur\AppData\Roaming/supertuxkart/addons> creating directory <C:\Users\Utilisateur\AppData\Roaming/supertuxkart/addons/ico ns/> creating directory <C:\Users\Utilisateur\AppData\Roaming/supertuxkart/addons/tmp /> Could not read user config file file C:\Users\Utilisateur\AppData\Roaming/supert uxkart/config.xml IrrDriver Creating NULL device Irrlicht Engine version 1.8.0-alpha Microsoft Windows 7 Ultimate Edition Service Pack 1 (Build 7601) [Trying OpenGL rendering. IrrDriver Trying to create device with 32 bits New highscore file 'C:\Users\Utilisateur\AppData\Roaming/supertuxkart/highscore. xml' created. Challenge file 'C:\Users\Utilisateur\AppData\Roaming/supertuxkart/challenges.xml ' will be created. startMusic : m_normal_filename=<./data//music/MayDayMayhem.ogg>, gain=0.7 [Loading an xml file for installed addons: C:\Users\Utilisateur\AppData\ Roaming/supertuxkart/addons/addons_installed.xml WARNING: Music not playing when it should be. Source state: 4116

Second time started =

Irrlicht Engine version 1.8.0-alpha Microsoft Windows 7 Ultimate Edition Service Pack 1 (Build 7601) FileManager Data files will be fetched from: '.' [Creating NULL device Irrlicht Engine version 1.8.0-alpha Microsoft Windows 7 Ultimate Edition Service Pack 1 (Build 7601) IrrDriver Trying OpenGL rendering. [Trying to create device with 32 bits addons Loading an xml file for installed addons: C:\Users\Utilisateur\AppData\ Roaming/supertuxkart/addons/addons_installed.xml startMusic : m_normal_filename=<./data//music/MayDayMayhem.ogg>, gain=0.7 WARNING: Music not playing when it should be. Source state: 4116

When i press French Canada =

Irrlicht Engine version 1.8.0-alpha Microsoft Windows 7 Ultimate Edition Service Pack 1 (Build 7601) [Data files will be fetched from: '.' IrrDriver Creating NULL device Irrlicht Engine version 1.8.0-alpha Microsoft Windows 7 Ultimate Edition Service Pack 1 (Build 7601) [Trying OpenGL rendering. IrrDriver Trying to create device with 32 bits [Loading an xml file for installed addons: C:\Users\Utilisateur\AppData\ Roaming/supertuxkart/addons/addons_installed.xml startMusic : m_normal_filename=<./data//music/MayDayMayhem.ogg>, gain=0.7 Env var LANGUAGE = 'fr_CA' Env var LANGUAGE = 'fr_CA', which corresponds to French (Canada) Adding language fallback fr

After i restart the game =

Irrlicht Engine version 1.8.0-alpha Microsoft Windows 7 Ultimate Edition Service Pack 1 (Build 7601) FileManager Data files will be fetched from: '.' Env var LANGUAGE = 'fr_CA' Env var LANGUAGE = 'fr_CA', which corresponds to French (Canada) Adding language fallback fr [Creating NULL device Irrlicht Engine version 1.8.0-alpha Microsoft Windows 7 Ultimate Edition Service Pack 1 (Build 7601) IrrDriver Trying OpenGL rendering. [Trying to create device with 32 bits addons Loading an xml file for installed addons: C:\Users\Utilisateur\AppData\ Roaming/supertuxkart/addons/addons_installed.xml startMusic : m_normal_filename=<./data//music/MayDayMayhem.ogg>, gain=0.7

After i select System Language = it display nothing new inside =

Irrlicht Engine version 1.8.0-alpha Microsoft Windows 7 Ultimate Edition Service Pack 1 (Build 7601) [Data files will be fetched from: '.' Env var LANGUAGE = 'fr_CA' Env var LANGUAGE = 'fr_CA', which corresponds to French (Canada) Adding language fallback fr IrrDriver Creating NULL device Irrlicht Engine version 1.8.0-alpha Microsoft Windows 7 Ultimate Edition Service Pack 1 (Build 7601) [Trying OpenGL rendering. IrrDriver Trying to create device with 32 bits [Loading an xml file for installed addons: C:\Users\Utilisateur\AppData\ Roaming/supertuxkart/addons/addons_installed.xml startMusic : m_normal_filename=<./data//music/MayDayMayhem.ogg>, gain=0.7

After i restart the game and the text is in English.

Irrlicht Engine version 1.8.0-alpha Microsoft Windows 7 Ultimate Edition Service Pack 1 (Build 7601) FileManager Data files will be fetched from: '.' [Creating NULL device Irrlicht Engine version 1.8.0-alpha Microsoft Windows 7 Ultimate Edition Service Pack 1 (Build 7601) IrrDriver Trying OpenGL rendering. [Trying to create device with 32 bits addons Loading an xml file for installed addons: C:\Users\Utilisateur\AppData\ Roaming/supertuxkart/addons/addons_installed.xml startMusic : m_normal_filename=<./data//music/MayDayMayhem.ogg>, gain=0.7

I hope it help ?

supertuxkart-sourceforge-migration commented 10 years ago

Author: hikerstk Hi,

thanks for the information. Could you also try to post the output of the 'set' command here? I don't have access to Windows 7 myself, on XP you can find it on the start menu, all programs, accessoires, then command prompt. Just enter 'set'.

I am hoping that Windows 7 might just be using a different environment variable to indicate the language (STK tests for LANG and LANGUAGE). If this isn't the case, we would have to find a more sophisitaced and complicated method to determine the system language.

Thanks for the report! Joerg

supertuxkart-sourceforge-migration commented 10 years ago

Author: ssta Hi, ...

I am hoping that Windows 7 might just be using a different environment variable to indicate the language (STK tests for LANG and LANGUAGE).

@hikerstk = The "set command" inside "cmd", dont show LANG or LANGUAGE. Then i can confirm insise a new virtual machine in FenchCanada, of "Windows7 x64" "Vistax64" and "XP x64 English" "XP x86 SP3". That, it dont contain inside "set" command the text line "Lang or Language".

supertuxkart-sourceforge-migration commented 10 years ago

Author: ssta Hi, ...

P.S. i have made some value to x, ... This the set command (see below), i hope it help.

Microsoft Windows 6.1.7601 Copyright (c) 2009 Microsoft Corporation. Tous droits rservs. C:\Users\Utilisateur>set ALLUSERSPROFILE=C:\ProgramData APPDATA=C:\Users\Utilisateur\AppData\Roaming CommonProgramFiles=C:\Program Files\Common Files CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files CommonProgramW6432=C:\Program Files\Common Files COMPUTERNAME=SST-WIN7-ENTREP ComSpec=C:\Windows\system32\cmd.exe FP_NO_HOST_CHECK=NO HOMEDRIVE=C: HOMEPATH=\Users\Utilisateur LOCALAPPDATA=C:\Users\Utilisateur\AppData\Local LOGONSERVER=\SST-WIN7-ENTREP NUMBER_OF_PROCESSORS=1 OS=Windows_NT Path=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32 \WindowsPowerShell\v1.0\ PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC PROCESSOR_ARCHITECTURE=AMD64 PROCESSOR_IDENTIFIER=AMD64 Family xx Model x Stepping x, AuthenticAMD PROCESSOR_LEVEL=xx PROCESSOR_REVISION=xxxx ProgramData=C:\ProgramData ProgramFiles=C:\Program Files ProgramFiles(x86)=C:\Program Files (x86) ProgramW6432=C:\Program Files PROMPT=$P$G PSModulePath=C:\Windows\system32\WindowsPowerShell\v1.0\Modules\ PUBLIC=C:\Users\Public SESSIONNAME=Console SystemDrive=C: SystemRoot=C:\Windows TEMP=C:\Users\UTILIS~1\AppData\Local\Temp TMP=C:\Users\UTILIS~1\AppData\Local\Temp USERDOMAIN=SST-WIN7-ENTREP USERNAME=Utilisateur USERPROFILE=C:\Users\Utilisateur windir=C:\Windows windows_tracing_flags=x windows_tracing_logfile=C:\BVTBin\Tests\installpackage\csilogfile.log C:\Users\Utilisateur>

supertuxkart-sourceforge-migration commented 10 years ago

Author: hikerstk Thanks for the list! I did some research, and found out how to get some locale information which hopefully should be good enough. We will probably do a 2nd rc, which will include this code.

supertuxkart-sourceforge-migration commented 10 years ago

Author: hikerstk This should be fixed in r9028. Please test the next RC (due in the near future) to see if this works as expected.

Thanks for the report! Joerg