Package com.google.gwt.i18n.client
package com.google.gwt.i18n.client
Internationalization support for GWT applications.
GWT includes a flexible set of tools to help you internationalize your
applications and libraries. GWT internationalization support provides a
variety of techniques to internationalize strings, typed values, and classes.
-
ClassDescriptionUtility class for handling auto-direction adjustment.The interface an object must implement in order to add an AutoDirectionHandler to it.Provides low-level functionality to determine whether to support bidi.Implementation class for
BidiPolicy
.Implementation class forBidiPolicy
used when bidi is always on.A set of bidi-related utility methods.A tag interface that facilitates locale-sensitive, compile-time binding of constant values supplied from properties files.Default boolean value to be used if no translation is found (and also used as the source for translation).Default double value to be used if no translation is found (and also used as the source for translation).Default float value to be used if no translation is found (and also used as the source for translation).Default integer value to be used if no translation is found (and also used as the source for translation).Default string array value to be used if no translation is found (and also used as the source for translation).Default string map value to be used if no translation is found (and also used as the source for translation).Default string value to be used if no translation is found (and also used as the source for translation).LikeConstants
, a tag interface that facilitates locale-sensitive, compile-time binding of constant values supplied from properties files with the added ability to look up constants at runtime with a string key.Information about a currency.Generated class containing all the CurrencyImpl instances.Create a custom localized date/time format at compile time.Annotation containing the pattern skeleton.Adapter that makes aDateTimeFormatInfo
implementation suitable for use with something that wants aDateTimeConstants
.Formats and parses dates and times using locale-sensitive patterns.Predefined date/time formats -- seeCustomDateTimeFormat
if you need some format that isn't supplied here.Deprecated.Adapter that makes aDateTimeConstants
implementation suitable for use with something that wants aDateTimeFormatInfo
.A defaultCurrencyData
implementation, so new methods can be added to the interface without breaking implementors if a reasonable default is available.For backwards compatibility only.Default LocalizedNames implementation.Base class ofDefaultLocalizedNames
, used just to isolate all hand-written code here from all generated code.Provides dynamic string lookup of key/value string pairs defined in a module's host HTML page.A widget that implements this interface has the ability to override the document directionality for its root element.Possible return values forHasDirection.getDirection()
and parameter values forHasDirection.setDirection(Direction)
.Widgets that implement this interface can either have a direction that is right-to-left (RTL), left-to-right (LTR), or default (which means that their directionality is inherited from their parent widget).Provides access to the currently-active locale and the list of available locales.For backwards compatibility only.This is the common superinterface to Messages and Constants.Specifies the default locale for messages in this file.Specifies a description of the string to be translated, such as a note about the context.Requests that a translation source file be generated from the annotated interface.Annotation indicating this is a generated file and the source file it was generated from.Requests that the keys for messages be generated automatically.The key used for lookup of translated strings.Specifies the meaning of the translated string.Provides an API for obtaining localized names for a locale.A tag interface that facilitates locale-sensitive, compile-time binding of messages supplied from various sources.UsingGWT.create(class)
to "instantiate" an interface that extendsMessages
returns an instance of an automatically generated subclass that is implemented using message templates selected based on locale.Provides alternate forms of a message, such as are needed when plural forms are used or a placeholder has known gender.Default text to be used if no translation is found (and also used as the source for translation).An example of the annotated parameter to assist translators.Ignored except on parameters also tagged withMessages.PluralCount
, and provides an offset to be subtracted from the value before a plural rule is chosen or the value is formatted.Indicates the specified parameter is optional and need not appear in a particular translation of this message.Provides multiple plural forms based on a count.Deprecated.useMessages.AlternateMessage
insteadProvides multiple forms based on a dynamic parameter.Formats and parses numbers using locale-sensitive patterns.The interface that plural rules must implement.Information about the plural forms supported by this rule which will be used during code generation and by tools to provide information to translators.The TimeZone class implements a time zone information source for client applications.A JavaScript Overlay type on top of the JSON data describing everything we need to know about a particular timezone.
DateTimeFormatInfo
instead