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