|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hd.d.pg2k.svrCore.I18NTools
public final class I18NTools
Holds constants and some utility methods for internationalisation (i18n). These are features common to the core system, Web presentation, etc.
Field Summary | |
---|---|
static java.lang.String |
BUNDLE_COMMON
Name of common resource bundle for core i18n messages. |
static java.lang.String |
BUNDLE_TREEDESC
Name of tree-description i18n resource bundle. |
static java.util.Locale |
DEFAULT_SYSTEM_LOCALE
Default locale to use in the system and on the Web site; not null. |
static java.util.Map<GeoUtils.CCTLD,java.util.Locale> |
LOCALE_BY_CCTLD
Immutable map from (a small set of common) top-level ccTLDs to best overall locale in our supported set for that location. |
static java.util.Set<java.util.Locale> |
LOCALES
Immutable Set of most locales supported by the system. |
static java.util.List<java.util.Locale> |
MAIN_LOCALES
Main locales that we support i18n for in an immutable List. |
Constructor Summary | |
---|---|
I18NTools()
|
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String BUNDLE_COMMON
public static final java.lang.String BUNDLE_TREEDESC
public static final java.util.Locale DEFAULT_SYSTEM_LOCALE
This locale is one that we should always be able to support.
public static final java.util.List<java.util.Locale> MAIN_LOCALES
Every item in this list is a Locale whose String version is of the form ll or ll_CC where "ll" is the language and "CC" the optional country code, eg fr for French and en_GB for UK English.
Every item that appears in this list has at least:
There may be partial support for languages/locales other than those listed here.
public static final java.util.Map<GeoUtils.CCTLD,java.util.Locale> LOCALE_BY_CCTLD
public static final java.util.Set<java.util.Locale> LOCALES
Constructor Detail |
---|
public I18NTools()
|
DHD Multimedia Gallery V1.60.69 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |