Package | starlingbuilder.engine.localization |
Interface | public interface ILocalization |
Implementors | DefaultLocalization |
See also
Property | Defined By | ||
---|---|---|---|
locale : String
Current locale property. | ILocalization |
Method | Defined By | ||
---|---|---|---|
getKeys():Array
Get all the available keys (only used in the editor). | ILocalization | ||
getLocales():Array
Get all the available locales (only used in the editor). | ILocalization | ||
getLocalizedText(key:String):String
Get localized text from key
| ILocalization |
locale | property |
locale:String
Current locale property.
public function get locale():String
public function set locale(value:String):void
getKeys | () | method |
public function getKeys():Array
Get all the available keys (only used in the editor). Only used in editor.
ReturnsArray — array of keys
|
getLocales | () | method |
public function getLocales():Array
Get all the available locales (only used in the editor).
ReturnsArray — array of locales
|
getLocalizedText | () | method |
public function getLocalizedText(key:String):String
Get localized text from key
Parameters
key:String — key of the text
|
String — localized text
|