BlzGetLocale

async
This function is asynchronous. The values it returns are not guaranteed to be the same for each player. If you attempt to use it in an synchronous manner it may cause a desync.
comment

Returns the used warcraft 3 Lcid.

//  English (US)            = 'enUS' 
//  English (UK)            = 'enGB' 
//  French                  = 'frFR' 
//  German                  = 'deDE' 
//  Spanish                 = 'esES' 
//  Italian                 = 'itIT' 
//  Czech                   = 'csCZ' 
//  Russian                 = 'ruRU' 
//  Polish                  = 'plPL' 
//  Portuguese (Brazilian)  = 'ptBR' 
//  Portuguese (Portugal)   = 'ptPT' 
//  Turkish                 = 'tkTK' 
//  Japanese                = 'jaJA' 
//  Korean                  = 'koKR' 
//  Chinese (Traditional)   = 'zhTW' 
//  Chinese (Simplified)    = 'zhCN' 
//  Thai                    = 'thTH'
note

Warcraft 3 Lcids can be found in config.ini inside the CASC.

patch

1.31.0.11889

return type
string
Source code
native BlzGetLocale                                takes nothing returns string
Source
common.j
wc3modding.com
BlzGetLocale