View Single Post
05-29-13, 01:21 PM   #5
Resike
A Pyroguard Emberseer
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 1,290
Originally Posted by Seerah View Post
Or (if you really really want separate files per locale) you can put in a return at the top of the file. So, even if it loads the file, it won't compile the code unless it's the correct locale.

Lua Code:
  1. if GetLocale() ~= "enUS" then
  2.      return
  3. end
Hmm i havn't tought about that, thats seems to be nice.
  Reply With Quote