Thread: Get unit locale
View Single Post
02-11-17, 11:20 AM   #2
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 1,710
For your client you can use GetLocale().
For your target (or any unit) you could match their realm against the ones available. The list would map their realm name to their locale.
I think I saw a library doing something like that around.

Yup, http://www.wowinterface.com/download...RealmInfo.html

Last edited by p3lim : 02-11-17 at 11:24 AM.
  Reply With Quote