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: Sisusupport, Renate.Reinartz, Markus.Kreisel, Ilkka.Salmenius
New Topic Reply Printer Friendly
Delphi X Windows application - doesn't pick up locale - 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: Thu May 24th, 2018 04:25 pm
PM Private Upload Quote Reply
Sifox211
Member
 

Joined: Mon Sep 12th, 2011
Location:  
Posts: 15
Status: 
Offline
I develop a Delphi X Windows application - one issue found in testing is that the application doesn't pick up the locale in use if the OS native language does not match the display language.
For example, an English version of Windows that has been set to display in French. 

What happens is that the application calls GetActiveResourceLocale() from the LaResource unit to find the required locale; in the above scenario, this function returns an empty string.  I got round this by checking for this and using the value from a call to

SysUtils.GetLocaleStr (GetCurrentLocale, LOCALE_SISO639LANGNAME, '')
and using SetDefaultLocaleReg to store this setting in the registry for the application to use. This works fine until the user changes the language again (something that happens with our sales and support teams), whereupon the application remains using the previous setting, because of it being stored in the registry.
Is there a way round this?  We have other applications written in C++ and C# using Sisulizer which do not have this behaviour.

Back To Top PM Private Upload Quote Reply

Current time is 07:21 am  
.NET, Delphi, ... - Sisulizer Localization Tool Support > Technical Support (You need to be registered at the forum to write) > Bugs and Quirks in Sisulizer > Delphi X Windows application - doesn't pick up locale



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

Impress - Privacy statement

Sisulizer software localization tool - Three simple steps to localize