|
|||
|
Localization Tool for VB, Delphi, .NET, C#, VB.NET, XML, Online Help, HTML ... > Technical Support (You need to be registered at the forum to write) > Bugs and Quirks in Sisulizer > Application mapped to the wrong language resource
|
| Moderated by: Renate.Reinartz, Markus.Kreisel, Jaakko.Salmenius, Ilkka.Salmenius |
|
|||||||||||||
| Application mapped to the wrong language resource - Bugs and Quirks in Sisulizer - Technical Support (You need to be registered at the forum to write) - Localization Tool for VB, Delphi, .NET, C#, VB.NET, XML, Online Help, HTML ... | ||||||||||||||
| Author | Post | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
||||||||||||||
|
SOLCWE Member
|
Hello! We have a big problem. Our main application supports four languages. The resource files (en,pl,fr,cs) be generated with sizulizer. Now, one from our polish customers has post following problem: They started the application and selected the polish language. then they killed the application process. after this, they can´t start the app in polish language. The app notified the following message "The resource file for selected language is not available". But the PL file exists in the application path. Now If they start the application by selecting the english resource, the application starts in the polish language. We use the methods GetLanguageFileExtension() ,GetLanguageFile() and GetWindowsLocaleName() from LaResource (Delphi). I´ve log this calls: Verbose;-1;TCarloLanguages;Check LangID: 9 Verbose;-1;TCarloLanguages;Entry count in resources list: 4 Verbose;-1;TCarloLanguages;Find LangID 9 Verbose;-1;TCarloLanguages;Check resourcen version: Locale=9 Verbose;-1;TCarloLanguages;Extension: PL Verbose;-1;TCarloLanguages;Langfile: Carlo.PL Verbose;-1;TCarloLanguages;Language: English Verbose;-1;TCarloLanguages;Version-Exe: 2.0.8.54 Verbose;-1;TCarloLanguages;Version-Resource: 2.0.8.54 You can see, the LangID (9) for englisch was found, but the application mapped to the PL extension? Does anybody know something about this problem? Our customer can reproduce that problem on three other clients (WinXP).
|
|||||||||||||
| ||||||||||||||
| ||||||||||||||
|
Markus.Kreisel Administrator
|
Hi, can you please post the source code lines where you select the language in your app so we can take a look. You can post it here or send it to support (at) sisulizer.fi if you prefer privacy. Markus
____________________ http://www.sisulizer.com - Three simple steps to localize |
|||||||||||||
| ||||||||||||||
|
||||||||||||||
|
Markus.Kreisel Administrator
|
Hi, can you please also include the lines where you call GetLanguageFileExtension() ,GetLanguageFile() and GetWindowsLocaleName() so we can see the parameters you uses. And can you also please give me some details how you created the log in your post? Markus
____________________ http://www.sisulizer.com - Three simple steps to localize |
|||||||||||||
| ||||||||||||||
| ||||||||||||||
|
SOLCWE Member
|
Ok, I´ve sent it all by email!
|
|||||||||||||
| ||||||||||||||
|
||||||||||||||
|
Jaakko.Salmenius Administrator
|
Is the original language of your application German? Jaakko
____________________ http://www.sisulizer.com - Three simple steps to localize |
|||||||||||||
| ||||||||||||||
| ||||||||||||||
|
SOLCWE Member
|
Yes, it is! Last edited on Tue Nov 11th, 2008 03:24 pm by SOLCWE |
|||||||||||||
| ||||||||||||||
|
||||||||||||||
|
Jaakko.Salmenius Administrator
|
Thank you for the source code. I looked them and found out that when LaResource.ExtensionToLocale calls SysUtils.GetLocaleStr with English id (9) the function returns PL(K). It should return ENU. I don't know why this happens. Most likely the database of Windows is corrupted (altought is is unlikely to happen on three computers). I recommend you to do following 1) Start Control Panel 2) Choose Regional and Language Options. Make sure that settings there are right (Poland (Polish) on your Polish customers). It it seems right change the value to anything else. Reboot and then change it back to Polish. After that try again. Jaakko
____________________ http://www.sisulizer.com - Three simple steps to localize |
|||||||||||||
| ||||||||||||||
| ||||||||||||||
|
SOLCWE Member
|
Ok thanks, we´ll try it!
|
|||||||||||||
| ||||||||||||||
|
||||||||||||||
|
SOLCWE Member
|
That´s it , it works ! Remains the question of how can this happen. Thanks everybody for your support!
|
|||||||||||||
| ||||||||||||||
| Current time is 12:24 am | |
| Localization Tool for VB, Delphi, .NET, C#, VB.NET, XML, Online Help, HTML ... > Technical Support (You need to be registered at the forum to write) > Bugs and Quirks in Sisulizer > Application mapped to the wrong language resource | |
Sisulizer software localization tool - Three simple steps to localize