#1 mORMot 1 » i18n and English UK Locale settings » 2012-12-22 13:42:16

SteveGW
Replies: 0

Hi,

I am using the 1.18 build and have a problem with mORMoti18n and the LangInit function . The default user locale on for my region (English - UK) is 2057, which has PrimaryLangID = 9 and SubLangID = 2. When the languages are initialised the Primary Language is correctly detected as English, however the Sub Language is ignored. This results in the initialization checking the Current Thread Local against English US Locale (1033). As this does not match the initialisation then proceeds to change the Thread Locale to English-US.

Is it possible to change this code so it takes account of Sub Languages as well? This is quite an issue for my applications as it is effectively ignoring the users settings.

Kind regards

Steve

Board footer

Powered by FluxBB