View Single Post
11-28-14, 01:23 PM   #20
myrroddin
A Pyroguard Emberseer
 
myrroddin's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2008
Posts: 1,240
Originally Posted by Rythal View Post
I could be wrong, and the people who are doing the translating would most likely know more but I don't think blizzards functions accept anything but english as parameters.
Correct. Native Lua and Blizzard Lua, like most programming languages, work in English. Passing non-English parameters will cause errors.

There are a few exceptions like GetSpellInfo that accept words in any language, but they are rare. And that causes issues if you aren't careful, because passing "Mind Blast" to an Italian client will cause a nil error because that's not how the spell is, um, spelled, in Italian. When dealing with that kind of situation, it is best to think big picture.