Package com.lokalized
package com.lokalized
Lokalized facilitates natural-sounding software translations.
See lokalized.com for complete documentation and examples.
- Author:
- Mark Allen
-
ClassDescriptionLanguage animacy forms.Controls whether Lokalized wraps caller-supplied placeholder values with Unicode bidirectional isolate controls.Language plural cardinality forms.Generic classifier categories for languages that require measure words or counters.Language clusivity forms.Definiteness forms.Exception which indicates a problem encountered while evaluating a localized string expression.Language formality forms.Language gender forms.Grammatical case forms.Closed marker interface which signifies a Lokalized-defined language construct (genders, grammatical cases, definiteness, classifiers, animacy, clusivity, formality, cardinalities, ordinalities, phonetics).Contract for matching an input
LocaleorList<Locale.LanguageRange>to an appropriate localized stringsLocale.Strict, immutable diagnostic result for locale negotiation.Describes the relationship used to select a locale.Represents a single localized string - its key, translated value, and any associated translation rules.Builder used to construct instances ofLocalizedString.An expression and the generated fragment translation selected when that expression matches.A generated fragment with a required default translation and optional ordered expression-driven alternatives.Container for per-language-form (gender, case, definiteness, classifier, formality, clusivity, animacy, cardinal, ordinal, phonetic) translation information.Container for per-language-form cardinality translation information over a range (start, end) of values.Closed base type for generated-placeholder definitions.Utility methods for loading localized strings files.Exception which indicates a problem encountered while processing a localized strings file.Options applied while discovering and loading localized strings files.Builder forLocalizedStringLoadingOptions.Describes a non-fatal validation problem detected while loading a localized strings file.The kind of problem aLocalizedStringWarningrepresents.Decides how Lokalized should respond to a non-fatal validation problem detected while loading a localized strings file.Exception thrown when no translation is found and the configuredTranslationFailureHandlerchooses to throw.Language plural ordinality forms.Represents the phonetic onset category of a word, used to select context-appropriate word forms in localized strings.ResolvesPhoneticcategories for terms at runtime.Unicode CLDR plural operands for cardinality and ordinality evaluation.Builder forPluralOperands.Range<T>Represents a structurally immutable, ordered range of values.Contract for localized string providers - given a key and optional caller-supplied placeholders, return a localized string.Builder used to constructStringsinstances.Describes a failed localized string lookup.Decides how Lokalized should respond when a localized string lookup fails after the configuredTranslationFallbackPolicystops fallback or all locale candidates are exhausted.Reasons a localized string lookup can fail.Response returned by aTranslationFailureHandler.Decides whether a failed locale attempt should continue to the next locale candidate.Per-invocation options for localized string lookup.Builder used to constructTranslationOptionsinstances.Diagnostic result for a translation lookup.Describes how aTranslationResultproduced its returned string.Immutable safety limits for translation construction and evaluation.Builder forTranslationRuntimeLimits.Exception thrown when an operation was performed on a locale that is not recognized by the system.