GetUserWindowsLanguage
From GECK
A function added by the SUP NVSE Plugin.
Contents
Description
Will return current Windows language set on user PC.
Syntax
(Language:string) GetUserWindowsLanguage
Example
let s_Lang := GetUserWindowsLanguage
Notes
- Language codes can be taken from here - https://www.science.co.il/language/Locale-codes.php.For instance, for Russian language the result is "ru-RU"
- I advice checking if string contains "en","fr","ru" etc as result might differ from player to player.