Methods on gw.api.util.LocaleUtil
In addition to runAsCurrentLanguage, runAsCurrentLocaleAndLanguage,
and runAsCurrentLocale,
the class gw.api.util.LocaleUtil
provides a number of other methods useful in working with localization,
including the following:
Method |
Description |
|---|---|
|
Returns boolean |
|
Returns boolean |
|
Returns a list of
the typecodes of all languages defined in the |
|
Returns a list of
the typecodes of all locales defined in the |
|
Returns the effective
language for the thread as a GWLanguage
object. This language can be, in order of priority, the temporary setting,
such as by |
|
Returns the effective
locale for the thread as a GWLocale
object. This locale can be, in order of priority, the temporary setting,
such as by |
|
Calls |
|
Calls |
|
The system setting for the language, set in configuration parameter DefaultApplicationLanguage. |
|
The system setting for the locale, set in configuration parameter DefaultApplicationLocale. |
|
Returns the localized
display name for the language as a |
|
Returns the localized
display name for the locale as a |
|
Converts a |
|
Converts a |
