|
|||
|
.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
|
| Moderated by: Renate.Reinartz, Markus.Kreisel, Jaakko.Salmenius, Ilkka.Salmenius |
|
||||||||||||||||
| 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 | |||||||||||||||||
| Author | Post | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|||||||||||||||||
|
Gs Member
|
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
|
||||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
|
Markus.Kreisel Administrator
|
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 |
||||||||||||||||
| |||||||||||||||||
|
|||||||||||||||||
|
tgr Member
|
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
|
||||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
|
Gs Member
|
Thanks Trond! Works fine for me too. Gerard
|
||||||||||||||||
| |||||||||||||||||
|
|||||||||||||||||
|
Markus.Kreisel Administrator
|
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 |
||||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
|
tgr Member
|
That would be great. Thanks, Trond
|
||||||||||||||||
| |||||||||||||||||
|
|||||||||||||||||
|
Jaakko.Salmenius Administrator
|
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 |
||||||||||||||||
| |||||||||||||||||
| 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 | |
Sisulizer software localization tool - Three simple steps to localize