Poster: Iriel at 11/25/2005 4:07:30 PM PST Subject: How to determine if US or EU client |
| |
The EU folks (Specifically those playing with the english client) are wondering if there's any way to reliably determine if the player is on a US or EU client, since the language from getLocale() is "enUS".
Apparently FrameXML's Localization.lua IS different for the european players, since the URL's and such change, so maybe just getting some kind of symbol in there that's specific to the environment would be sufficient? Or exposing somethng else?
(Someone suggested the realmList CVar, but that might have its own issues)[ post edited by Iriel ]
<Addon Authors: Dont use RegisterForSave()!>
| | | http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=270141&p=#post270141 | | | Poster: slouken at 11/28/2005 10:32:26 AM PST Subject: Re: How to determine if US or EU client |
| |
Q u o t e: The EU folks (Specifically those playing with the english client) are wondering if there's any way to reliably determine if the player is on a US or EU client, since the language from getLocale() is "enUS".
In the next 1.9 test realm build, you'll be able to check for the variable LOCALE_enGB, which will be true only in EU english builds. GetLocale() will still return enUS, since for all intents and purposes, the data between the two is the same.
(LOCALE_enUS, LOCALE_frFR, LOCALE_deDE, LOCALE_koKR, LOCALE_zhCN, LOCALE_zhTW will also be available in the respective builds)
| | | http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=270141&p=#post271259 |
View all recent official Blue Posts
|