public static interface I18nHelper.BeanFactory
I18nHelper
instances for a specific Locale or User. Note that
since JIRA 6.0 you can have an I18nHelper
injected directly into your class, and it will be specific to
the currently logged in user.Modifier and Type | Method and Description |
---|---|
I18nHelper |
getInstance(ApplicationUser user)
Returns an
I18nHelper instance associated with the provided User 's locale preference. |
I18nHelper |
getInstance(Locale locale)
Returns an
I18nHelper instance associated with the provided Locale . |
@Nonnull I18nHelper getInstance(Locale locale)
I18nHelper
instance associated with the provided Locale
. Note that since JIRA 6.0
you can have an I18nHelper
injected directly into your class, and it will be specific to the
currently logged in user.locale
- the locale in playI18nHelper
instance associated with the provided Locale
@Nonnull I18nHelper getInstance(ApplicationUser user)
I18nHelper
instance associated with the provided User
's locale preference. Note
that since JIRA 6.0 you can have an I18nHelper
injected directly into your class, and it will be
specific to the currently logged in user.user
- the user in playI18nHelper
instance associated with the provided User
's locale preferenceCopyright © 2002-2018 Atlassian. All Rights Reserved.