Package com.atlassian.jira.i18n
Class BackingI18nFactoryImpl
java.lang.Object
com.atlassian.jira.i18n.BackingI18nFactoryImpl
- All Implemented Interfaces:
BackingI18nFactory
- Since:
- v6.2.3
-
Constructor Summary
ConstructorsConstructorDescriptionBackingI18nFactoryImpl
(TranslationStoreFactory storeFactory, I18NResourceBundleLoader resourceLoader, I18nTranslationMode translationMode) -
Method Summary
Modifier and TypeMethodDescriptioncreate
(Locale locale, Iterable<? extends TranslationTransform> translationTransforms) Create anI18nHelper
for the passed parameters.
-
Constructor Details
-
BackingI18nFactoryImpl
public BackingI18nFactoryImpl(TranslationStoreFactory storeFactory, I18NResourceBundleLoader resourceLoader, I18nTranslationMode translationMode)
-
-
Method Details
-
create
public BackingI18n create(Locale locale, Iterable<? extends TranslationTransform> translationTransforms) Description copied from interface:BackingI18nFactory
Create anI18nHelper
for the passed parameters.- Specified by:
create
in interfaceBackingI18nFactory
- Parameters:
locale
- the locale for the returnedI18nHelper
.translationTransforms
- the transforms that should be applied by the returned helper during translation.- Returns:
- a
I18nHelper
for the passedLocale
.
-