Thread
:
Game locale in toc
View Single Post
05-29-13, 10:20 AM
#
4
Seerah
Fishing Trainer
Join Date: Oct 2006
Posts: 10,860
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:
if
GetLocale
(
)
~
=
"enUS"
then
return
end
__________________
"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
Seerah
View Public Profile
Send a private message to Seerah
Find More Posts by Seerah