View Single Post
05-29-13, 09:37 AM   #2
ravagernl
Proceritate Corporis
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 1,176
You mean something like:
Code:
## Interface: 50300
[<rest of toc headers>]
init.lua
locales\locale.{locale}.lua
and the game should automatically replace {locale}? Or create a new toc header:
Code:
## Interface: 50300
## LoadForLocale: zhTW, zhCN
And then set OptionalDependencies in the actual addon toc to all of these locale addons.

Second option would seriously be spamming the AddOns folder, even tough AddOns like Bigwigs already do this, and I don't see Blizzard implementing option 1 at all.

Blizzard would rather implement interface/addon localization in XML (in a way that a table was inserted as the third argument to vararg ...) i think.

Last edited by ravagernl : 05-29-13 at 09:40 AM.
  Reply With Quote