Support forum of the software localization tool Sisulizer


.NET, Delphi, ... - Sisulizer Localization Tool Support 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
default language and LoadedResourceLocale - Bugs and Quirks in Sisulizer - Technical Support (You need to be registered at the forum to write) - .NET, Delphi, ... - Sisulizer Localization Tool Support
AuthorPost
 Posted: Tue Jan 5th, 2010 10:09 am
PM Private Upload Quote Reply
Gs
Member
 

Joined: Tue Nov 18th, 2008
Location:  
Posts: 69
Status: 
Offline
Hi,

Using Delphi 2007 and Sisulizer 2008. The problem is with the 'default' language vs. the LoadedResourceLocale.

In our case, EnglishUS (ENU) is the default language. Suppose I have a Windows machine with Dutch as the windows Locale. In my app, I choose the default language (ENU). In the registry, the Software\Borland\Locales entry for my app now has an empty value. It appears that in this situation the *Dutch* resource (LaResource looks at the windows locale apparently) is loaded and so I get a *Dutch* translation instead of the desired original ENU language.

How can I handle this situation ??

TIA
Gerard

Back To Top PM Private Upload Quote Reply

 Posted: Tue Jan 5th, 2010 10:47 am
PM Private Upload Quote Reply
Markus.Kreisel
Administrator


Joined: Sat Apr 8th, 2006
Location: Monschau, Germany
Posts: 2115
Status: 
Offline
Hi Gerard,

There is a document describing how VCL chooses the language at startup. You find that file here:

http://www.sisulizer.com/software-localization-tool/vcl.pdf

It has many more infos worth a read.

Hope this helps

Markus



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

 Posted: Tue Jan 5th, 2010 10:51 am
PM Private Upload Quote Reply
tgr
Member
 

Joined: Tue Dec 1st, 2009
Location: Norway
Posts: 14
Status: 
Offline
I had the same problem, and ended up making a slightly modified version of the GetDefaultLocaleReg function. See http://www.sisulizer.net/forum3/1201.html for details. Works well for me.

Trond

Back To Top PM Private Upload Quote Reply

 Posted: Tue Jan 5th, 2010 12:07 pm
PM Private Upload Quote Reply
Gs
Member
 

Joined: Tue Nov 18th, 2008
Location:  
Posts: 69
Status: 
Offline
Thanks Trond! Works fine for me too.
Gerard

Back To Top PM Private Upload Quote Reply

 Posted: Tue Jan 5th, 2010 12:11 pm
PM Private Upload Quote Reply
Markus.Kreisel
Administrator


Joined: Sat Apr 8th, 2006
Location: Monschau, Germany
Posts: 2115
Status: 
Offline
Hi Trond, Hi Gerard,

I'll ask our R&D if we can make the change part of our distribution and documentation. Would be great if all user make profit of it.

Thank you very much!

Markus



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

 Posted: Tue Jan 5th, 2010 12:25 pm
PM Private Upload Quote Reply
tgr
Member
 

Joined: Tue Dec 1st, 2009
Location: Norway
Posts: 14
Status: 
Offline
That would be great.

Thanks,
Trond

Back To Top PM Private Upload Quote Reply

 Posted: Tue Jan 5th, 2010 02:11 pm
PM Private Upload Quote Reply
Jaakko.Salmenius
Administrator


Joined: Sat Apr 8th, 2006
Location: Espoo, Finland
Posts: 2275
Status: 
Offline
I implemented in buld 296. The new buiold will come out next week.

Thank you for your idea.

Jaakko



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

Current time is 08:31 pm  
.NET, Delphi, ... - Sisulizer Localization Tool Support > Technical Support (You need to be registered at the forum to write) > Bugs and Quirks in Sisulizer > default language and LoadedResourceLocale



WowUltra modified by Sisulizer Copyright © 2007-09 by Jim Hale - Based on WowBB Copyright © 2003-2006 Aycan Gulez

Sisulizer software localization tool - Three simple steps to localize