AceLocale-3.0

From WowAce Wiki

Jump to: navigation, search

API

:NewLocale(application, locale, isDefault)

application (string) 
unique name of addon / module
locale (string) 
name of locale to register, e.g. "enUS", "deDE", etc...
isDefault (boolean) 
whether this is the default locale or not

Returns a table to be filled with localization data or nil if this locale is not needed (cannot happen when isDefault is true).

:GetLocale(application[, silent])

application (string) 
unique name of addon / module
silent (boolean) 
do not error if the application does not exist

Returns the associated table for the application if it exists or nil if it doesn't.

Personal tools
Support the Site