Interface TranslationSourceRegistry
- All Superinterfaces:
TranslationSource
A mutable localization source that delegates the localization lookup to other sources in FIFO order.
-
Method Summary
Modifier and TypeMethodDescriptionstatic TranslationSourceRegistrycreate()Creates a newMultiLocalizationSourceinstance.voidregister(TranslationSource source) Adds a localization source to the list of sources.Methods inherited from interface com.xpdustry.distributor.api.translation.TranslationSource
getTranslation, getTranslationOrDefault, getTranslationOrMissing
-
Method Details
-
create
Creates a newMultiLocalizationSourceinstance. -
register
Adds a localization source to the list of sources.- Parameters:
source- the source to add
-