WoW:Localizing an addon: Difference between revisions

m
Line 18: Line 18:
Currently, it is best to put these in a file separate from the main code (usually name localization.lua for easy reference but any name will do).
Currently, it is best to put these in a file separate from the main code (usually name localization.lua for easy reference but any name will do).


that file must then be declared in the xml part of the addon, juste before the other scripts that compose it, example:
That file must then be declared in the XML part of the addon, just before the other scripts that compose it, example:




Anonymous user