Closed Meorawr closed 3 years ago
To clarify on the format returned used by Blizzard (and returned by GetLocale()
), the locale identifier is a combination of a lowercase ISO 639-1 language code and an uppercase ISO 3166-1 alpha-2 country code.
So a couple of examples of future expansion from the linked lists:
svSE
- SwedishjaJP
- JapanesekrKP
- Korean (North Korea)
This field would encode a locale identifier (
enUS
,deDE
, etc.) for a player's preferred roleplay language. This wouldn't normally be needed with language-specific RP servers, but Classic lacks these entirely.LC
field matching the form exposed by the GetLocale() function.GetLocale()
returns.GetLocale()
. AddOns may send other locale identifiers through (eg. "enGB") if such data is available. AddOns must be prepared to accept such values, but are not required to display them.LC
field contents do not need to match the exact return ofGetLocale()
on the client itself; this field is to encode the users preferred language for roleplay. They may have their client locale set to something different than their preferred speaking language.