Archive: Get/set system UI language, how to ?


Get/set system UI language, how to ?
Someone knows?

Any helps will be appreciated.


download a language pack.
I don't see packs for latest version though v5.32 (Nov 21 2006) release.

I'm looking a pack in portuguese (Brazil).


Thanks for your reply..

But i mean changing or getting the UI language of current windows operating system via NSIS script...is it possible to achieve?


The selected language is already the UI language. But if you don't have a language table for that language, it'll just be the default script language. You can call GetUserDefaultUILanguage yourself from the script.

System::Call kernel32::GetUserDefaultUILanguage()i.r0
That'd only work for ME and 2000+. For others read, HKCU\Control Panel\Desktop\ResourceLocale or HKU\.DEFAULT\Control Panel\International\Locale.

I don't know how to set it. A quick MSDN search will probably give you your answer for that.