no edit summary
No edit summary |
|||
| Line 1: | Line 1: | ||
{{wowapi}} | {{wowapi}}Returns information about the client locale. | ||
Returns information about the client locale. | |||
locale = GetLocale(); | locale = GetLocale(); | ||
| Line 10: | Line 9: | ||
== Example == | == Example == | ||
<pre> | <pre> | ||
if (GetLocale() == "frFR") then | if (GetLocale() == "frFR") then | ||
| Line 23: | Line 21: | ||
* "frFR": French (France) | * "frFR": French (France) | ||
* "deDE": German (Germany) | * "deDE": German (Germany) | ||
* "enGB : English (Great | * "enGB": English (Great Britain) ''if returned, can substitute 'enUS' for consistancy'' | ||
* "enUS": English (America) | * "enUS": English (America) | ||
* "itIT": Italian (Italy) | * "itIT": Italian (Italy) | ||