View Single Post
01-27-14, 01:04 PM   #3
Dridzt
A Pyroguard Emberseer
 
Dridzt's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2005
Posts: 1,359
I've been using
Code:
local realmlist = GetCVar("realmList")
local region = string.match(realmlist,"(%a+)%..+")
if region then
  -- use region
end
in my addons for years, had no complaints from users so I'd guess it works

Edit: Install locale is irrelevant, you can be playing in the eu region and have a deDE or frFR locale client.

Last edited by Dridzt : 01-27-14 at 01:07 PM.
  Reply With Quote