Class LocalizedString.LanguageFormTranslation

java.lang.Object
com.lokalized.LocalizedString.PlaceholderDefinition
com.lokalized.LocalizedString.LanguageFormTranslation
Enclosing class:
LocalizedString

Container for per-language-form (gender, case, definiteness, classifier, formality, clusivity, animacy, cardinal, ordinal, phonetic) translation information.

Translations can be keyed either on a single value or a range of values (start and end) in the case of cardinality ranges. Runtime values may be an explicit matching LanguageForm; cardinality and ordinality additionally accept PluralOperands and the supported Number implementations documented by PluralOperands.forNumber(Number). Phonetic maps accept CharSequence values, which are bounded by TranslationRuntimeLimits.getMaximumInterpolatedOutputCharacters() before conversion and delegation to the configured PhoneticResolver.

Author:
Mark Allen