Support forum of the software localization tool Sisulizer


Localization Tool for VB, Delphi, .NET, C#, VB.NET, XML, Online Help, HTML ... Home

Get in contact with the makers of Sisulizer.
Our forum is open for all questions around Sisulizer from customers and prospects.
Don't hesitate to register and ask. The Sisulizer team will answer ASAP.

Search     Help Home Sisulizer Website Download
Search by username
Not logged in - Login | Register 

 Moderated by: Renate.Reinartz, Markus.Kreisel, Jaakko.Salmenius, Ilkka.Salmenius
New Topic Reply Printer Friendly
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 ...
AuthorPost
 Posted: Tue Nov 11th, 2008 01:01 pm
PM Quote Reply
SOLCWE
Member
 

Joined: Thu Sep 27th, 2007
Location:  
Posts: 8
Status: 
Offline
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).

Back To Top PM Quote Reply

 Posted: Tue Nov 11th, 2008 01:09 pm
PM Quote Reply
Markus.Kreisel
Administrator


Joined: Sat Apr 8th, 2006
Location: Bedburg, Germany
Posts: 829
Status: 
Offline
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
Back To Top PM Quote Reply

 Posted: Tue Nov 11th, 2008 01:15 pm
PM Quote Reply
Markus.Kreisel
Administrator


Joined: Sat Apr 8th, 2006
Location: Bedburg, Germany
Posts: 829
Status: 
Offline
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
Back To Top PM Quote Reply

 Posted: Tue Nov 11th, 2008 02:02 pm
PM Quote Reply
SOLCWE
Member
 

Joined: Thu Sep 27th, 2007
Location:  
Posts: 8
Status: 
Offline
Ok, I´ve sent it all by email!

Back To Top PM Quote Reply

 Posted: Tue Nov 11th, 2008 02:51 pm
PM Quote Reply
Jaakko.Salmenius
Administrator


Joined: Sat Apr 8th, 2006
Location: Tokyo, Japan
Posts: 1641
Status: 
Online
Is the original language of your application German?

Jaakko



____________________
http://www.sisulizer.com - Three simple steps to localize
Back To Top PM Quote Reply

 Posted: Tue Nov 11th, 2008 03:22 pm
PM Quote Reply
SOLCWE
Member
 

Joined: Thu Sep 27th, 2007
Location:  
Posts: 8
Status: 
Offline
Yes, it is!

Last edited on Tue Nov 11th, 2008 03:24 pm by SOLCWE

Back To Top PM Quote Reply

 Posted: Wed Nov 12th, 2008 05:25 pm
PM Quote Reply
Jaakko.Salmenius
Administrator


Joined: Sat Apr 8th, 2006
Location: Tokyo, Japan
Posts: 1641
Status: 
Online
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
Back To Top PM Quote Reply

 Posted: Thu Nov 13th, 2008 07:36 am
PM Quote Reply
SOLCWE
Member
 

Joined: Thu Sep 27th, 2007
Location:  
Posts: 8
Status: 
Offline
Ok thanks, we´ll try it!

Back To Top PM Quote Reply

 Posted: Thu Nov 13th, 2008 02:11 pm
PM Quote Reply
SOLCWE
Member
 

Joined: Thu Sep 27th, 2007
Location:  
Posts: 8
Status: 
Offline
That´s it , it works ! ;)

Remains the question of how can this happen.

Thanks everybody for your support!

Back To Top PM Quote Reply

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



WowUltra 1.11 Copyright © 2007 by Jim Hale - Based on WowBB Copyright © 2003-2006 Aycan Gulez

Sisulizer software localization tool - Three simple steps to localize