API:GetLanguage

Check's the client's locale

Arguments

 * None

Returns

 * "PL" - Polish
 * locale
 * string - Returns the client's locale:
 * "ENEU" - English (Europe)
 * "ENUS" - English (United States)
 * "DE" - German
 * "FR" - Francais
 * "ES" - Español
 * "CN" - Chinese (China)
 * "TW" - Chinese (Taiwan)
 * "JP" - Japanese
 * "RU" - Russian
 * "PL" - Polish

Example
A failsafe version for your addon would be something like: or