Returns a code indicating the localization currently in use by the client


See also Client control and information functions, Locale-specific functions.

Signature:

locale = GetLocale()

Returns:

  • locale - A four character locale code indicating the localization currently in use by the client (string)
    • deDE - German
    • enGB - British English
    • enUS - American English
    • esES - Spanish (European)
    • esMX - Spanish (Latin American)
    • frFR - French
    • koKR - Korean
    • ruRU - Russian
    • zhCN - Chinese (simplified; mainland China)
    • zhTW - Chinese (traditional; Taiwan)