Skip to content
⌘ NSIS Forum Archive

Get/set system UI language, how to ?

4 posts

Ciro Consentino#
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).
zjckwht#
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?
kichik#
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.