| Interface | Description |
|---|---|
| Constants |
A tag interface that facilitates locale-sensitive, compile-time binding of constant values
supplied from properties files.
|
| ConstantsWithLookup |
Like
Constants, 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. |
| LocalizableResource |
This is the common superinterface to Messages and Constants.
|
| Messages |
A tag interface that facilitates locale-sensitive, compile-time binding of messages supplied from
various sources.Using
GWT.create(class) to "instantiate" an interface that
extends Messages returns an instance of an automatically generated subclass that is
implemented using message templates selected based on locale. |
| PluralRule |
The interface that plural rules must implement.
|
| Class | Description |
|---|---|
| Dictionary |
Provides dynamic string lookup of key/value string pairs defined in a module's host HTML page.
|
| PluralRule.PluralForm |
Information about the plural forms supported by this rule which will be used during code
generation and by tools to provide information to translators.
|
| Annotation Type | Description |
|---|---|
| Constants.DefaultBooleanValue |
Default boolean value to be used if no translation is found (and also used as the source for
translation).
|
| Constants.DefaultDoubleValue |
Default double value to be used if no translation is found (and also used as the source for
translation).
|
| Constants.DefaultFloatValue |
Default float value to be used if no translation is found (and also used as the source for
translation).
|
| Constants.DefaultIntValue |
Default integer value to be used if no translation is found (and also used as the source for
translation).
|
| Constants.DefaultStringArrayValue |
Default string array value to be used if no translation is found (and also used as the source
for translation).
|
| Constants.DefaultStringMapValue |
Default string map value to be used if no translation is found (and also used as the source for
translation).
|
| Constants.DefaultStringValue |
Default string value to be used if no translation is found (and also used as the source for
translation).
|
| LocalizableResource.DefaultLocale |
Specifies the default locale for messages in this file.
|
| LocalizableResource.Description |
Specifies a description of the string to be translated, such as a note about the context.
|
| LocalizableResource.Generate |
Requests that a translation source file be generated from the annotated interface.
|
| LocalizableResource.GeneratedFrom |
Annotation indicating this is a generated file and the source file it was generated from.
|
| LocalizableResource.GenerateKeys |
Requests that the keys for messages be generated automatically.
|
| LocalizableResource.Key |
The key used for lookup of translated strings.
|
| LocalizableResource.Meaning |
Specifies the meaning of the translated string.
|
| Messages.AlternateMessage |
Provides alternate forms of a message, such as are needed when plural forms are used or a
placeholder has known gender.
|
| Messages.DefaultMessage |
Default text to be used if no translation is found (and also used as the source for
translation).
|
| Messages.Example |
An example of the annotated parameter to assist translators.
|
| Messages.Offset |
Ignored except on parameters also tagged with
Messages.PluralCount, and provides an offset to be
subtracted from the value before a plural rule is chosen or the value is formatted. |
| Messages.Optional |
Indicates the specified parameter is optional and need not appear in a particular translation
of this message.
|
| Messages.PluralCount |
Provides multiple plural forms based on a count.
|
| Messages.PluralText | Deprecated
use
Messages.AlternateMessage instead |
| Messages.Select |
Provides multiple forms based on a dynamic parameter.
|
Copyright © 2018–2020. All rights reserved.