| java.lang.Object | |
| ↳ | com.atlassian.confluence.util.i18n.DefaultI18NBean |
Responsible for fetching internationalised text given a key. By default, this will only search the default resource bundle for ConfluenceActionSupport.class
To access i18n keys in resource bundles for other classes: specify these classes in a list (use fully qualified class names)|
[Expand]
Inherited Fields | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
From interface
com.atlassian.confluence.util.i18n.I18NBean
| ||||||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Get the i18n text for a particular key.
| |||||||||||
Gets the i18n text for the specified message, formatting the message's value and arguments with MessageFormat.
| |||||||||||
Get the i18n text for a particular key, formatted through MessageFormat with the given arguments.
| |||||||||||
Needed for text that should not be marked up (for example, values for the 'accessKey' attribute in an input element)
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||||||||||||||||||
From interface
com.atlassian.confluence.util.i18n.I18NBean
| |||||||||||||||||||||||||||
Gets the i18n text for the specified message, formatting the message's value and arguments with MessageFormat.
| message | the message to format, containing an i18n key and arguments |
|---|
Get the i18n text for a particular key, formatted through MessageFormat with the given arguments. Works
similarly to getText(String, java.util.List), but the array form is necessary to work well
with Velocity.
| key | the key to retrieve the i18n text for |
|---|---|
| args | an array of arguments to be passed in to the MessageFormat#format for this text |
Needed for text that should not be marked up (for example, values for the 'accessKey' attribute in an input element)
| i18nKey | the key to retrieve localised text for |
|---|

