To get the setting for language for non-Unicode programs (the system locale), you can use:
The 4-digit decimal locale code will be returned in $R0 (i.e. 1033 for en-US).System::Call "kernel32::GetSystemDefaultLCID()i .R0"
Pop $R0
At first I tried the 'Detect User Locale INFO' example in the wiki
but it didn't detect the system locale correctly.
Hope this helps someone.