Thread Tools Display Modes
Prev Previous Post   Next Post Next
04-16-08, 12:26 PM   #1
Guildenstern
A Defias Bandit
Join Date: Apr 2008
Posts: 2
GetItemInfo, GetZoneText and localized client.

Hello.
I'm new to addon developement, so I might be asking something silly, but how do I properly handle those functions so that my addon doesn't break on non-english versions of wow? I want it to check itemType in one situation, and player's zone in another, and to make certain decisions based on that. But results those functions return depend on the client's language. I've tried looking through GlobalStrings.lua, but couldn't find constants for item types and game zones. Is there easy way around this?
  Reply With Quote
 

WoWInterface » Developer Discussions » Lua/XML Help » GetItemInfo, GetZoneText and localized client.


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off