WoWInterface - View Single Post - Localization Help
View Single Post
09-15-19, 12:11 PM   #8
Fishing Trainer
Seerah's Avatar
WoWInterface Super Mod
Join Date: Oct 2006
Posts: 10,732
If your addon does not work when not localized, this means that your code is looking for text strings that are in your locale only.

For example,
Lua Code:
  1. GetItemInfo("Linen Cloth")
will only work in your locale. It's called "Leinenstoff" in German, "Paņo de lino" in Spanish, etc. In these instances, you need to use the itemID instead.
Lua Code:
  1. GetItemInfo(2589)
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh

  Reply With Quote