com.atlassian.greenhopper.service
Interface I18nFactoryService

All Known Implementing Classes:
I18nFactoryServiceImpl

public interface I18nFactoryService

Provides access to i18n objects


Method Summary
 I18n2 getI18n()
          Get the default application i18n.
 I18n2 getI18n(java.util.Locale locale)
          Get the i18n object for a given locale
 I18n2 getI18n(com.atlassian.crowd.embedded.api.User user)
          Get the i18n object for a given user.
 

Method Detail

getI18n

I18n2 getI18n(com.atlassian.crowd.embedded.api.User user)
Get the i18n object for a given user.

Parameters:
user - the user to fetch the i18n object for
Returns:
the i18n object for the user locale or the default i18n object in case user is null

getI18n

I18n2 getI18n(java.util.Locale locale)
Get the i18n object for a given locale

Parameters:
locale - the locale to fetch for
Returns:
the i18n object for the locale or the default i18n object in case locale is null

getI18n

I18n2 getI18n()
Get the default application i18n. This i18n object will be implement



Copyright © 2007-2013 Atlassian. All Rights Reserved.