public interface LocalizableResource extends Localizable
MessageFormat
-style strings which can have
parameters (including support for plural forms), while Constants
can be other types, have simplified quoting requirements, and do
not take any parameters.
The annotations defined here are common to both -- see the individual
subinterfaces for additional annotations which apply only to each
one.Modifier and Type | Interface and Description |
---|---|
static interface |
LocalizableResource.DefaultLocale
Specifies the default locale for messages in this file.
|
static interface |
LocalizableResource.Description
Specifies a description of the string to be translated, such as a note
about the context.
|
static interface |
LocalizableResource.Generate
Requests that a translation source file be generated from the annotated
interface.
|
static interface |
LocalizableResource.GeneratedFrom
Annotation indicating this is a generated file and the source file it was
generated from.
|
static interface |
LocalizableResource.GenerateKeys
Requests that the keys for messages be generated automatically.
|
static interface |
LocalizableResource.Key
The key used for lookup of translated strings.
|
static interface |
LocalizableResource.Meaning
Specifies the meaning of the translated string.
|
Copyright © 2018. All rights reserved.