Package com.smartgwt.client.util
Class I18nUtil
java.lang.Object
com.smartgwt.client.util.I18nUtil
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
formatLocaleCurrency
(Object value) static String
formatLocaleFloat
(Object value, Object precision) static String
formatLocaleInt
(Object value) static String
static String
static String
static String
static void
init()
Setup SmartGWT i18n.static void
initMessages
(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
-