package

com.atlassian.confluence.util.i18n

Interfaces

DocumentationBean Constructs a link to the instance's documentation  
DocumentationBeanFactory Factory interface for retrieving documentation link beans. 
I18NBean Responsible for fetching internationalised text for a given key. 
I18NBeanFactory Factory interface for retrieving i18n support beans  
I18nModeManager  
I18NResource  
TranslationMode  
UserLocaleAware Beans wishing to have a user locale sensitive I18NBeanFactory should implement this interface  

Classes

AbstractI18NResource  
CachingI18NBeanFactory  
CombinedResourceBundle  
DefaultI18NBean Responsible for fetching internationalised text given a key. 
DefaultI18NBeanFactory I18N bean factory which will return a bean for the default locale if one is not specified 
DefaultI18nModeManager  
I18NResourceBundlesLoader Similates the behaviour of ResourceBundle.getBundle() and searches for all bundles for a locale from most specific to least specific  
LanguagePluginI18NResource  
LightningTranslationMode  
Message A user interface message consisting of a message key with optional arguments. 
MockI18NBeanFactory Mock implementation of the I18NBeanFactory to be used by tests  
NormalTranslationMode  
PluginI18NResource  
ResourceBundlesCollector Class that:
  • takes a map of resource bundles (keyed by locale) or single resource bundles
  • sorts them by locale
  • combines all bundles keyed by the same locale into one CombinedResourceBundle
  • and returns a list of CombinedResourceBundles in the correct locale order (most specific locales come first. 
TestCombinedResourceBundle  
TestResourceBundlesCollector  
TestUserI18NBeanFactory  
TestVersionSpecificDocumentationBean  
UserI18NBeanFactory I18N bean factory which will return an I18N bean configured for the current user's locale. 
UserLocaleAwareBeanPostProcessor Bean post processor responsible for injecting an I18NBeanFactory for any beans served by spring that implements UserLocaleAware
VersionSpecificDocumentationBean Constructs a version specific link to Confluence's documentation. 
VersionSpecificDocumentationBeanFactory DocumentationBeanFactory which returns VersionSpecificDocumentationBeans for the Confluence instance.