Package com.smartgwt.client.util
Class I18nUtil
java.lang.Object
com.smartgwt.client.util.I18nUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringformatLocaleCurrency(Object value) static StringformatLocaleFloat(Object value, Object precision) static StringformatLocaleInt(Object value) static Stringstatic Stringstatic Stringstatic Stringstatic voidinit()Setup SmartGWT i18n.static voidinitMessages(SmartGwtMessages messages) Initialize Smart GWT with i18n translations.static double
-
Constructor Details
-
I18nUtil
public I18nUtil()
-
-
Method Details
-
init
public static void init()Setup SmartGWT i18n. -
formatLocaleInt
-
formatLocaleFloat
-
formatLocaleCurrency
-
getLocaleCurrencySymbol
-
getLocaleDecimalSymbol
-
getLocaleGroupingSymbol
-
getLocaleNegativeSymbol
-
parseNum
-
initMessages
Initialize Smart GWT with i18n translations.- Parameters:
messages- the SmartGWT messages
-