Packageweavejs.api.core
Interfacepublic interface ILocale



Public Properties
 PropertyDefined By
  data : Object
A mapping from original text to translated text.
ILocale
  reverseLayout : Boolean
ILocale
Public Methods
 MethodDefined By
  
getText(text:String):String
This will look up the localized version of a piece of text.
ILocale
Property Detail
dataproperty
data:Object

A mapping from original text to translated text.


Implementation
    public function get data():Object
    public function set data(value:Object):void
reverseLayoutproperty 
reverseLayout:Boolean


Implementation
    public function get reverseLayout():Boolean
    public function set reverseLayout(value:Boolean):void
Method Detail
getText()method
public function getText(text:String):String

This will look up the localized version of a piece of text.

Parameters

text:String — The original text as specified by the developer.

Returns
String — The text in the current locale, or the original text if no localization exists.