Confluence 4.1 has reached end of life
Check out the [latest version] of the documentation
All Confluence UI text is contained in a single Java properties file. This file can be modified to change the default text, and also to translate Confluence into other languages than English.
The UI text file is ConfluenceActionSupport.properties. From your Confluence install directory:
\confluence\WEB-INF\lib\confluence-3.x.jar Within this File, the relevant file to edit is :\com\atlassian\confluence\core\ConfluenceActionSupport.properties.
Refer to Editing jar files for reference.
The information on this page does not apply to
The file contains parameters with name=value pairs, in the format:
parameter.name=Parameter value
Parameter names are any text before the '=' character and should never be modified. Any text after the '=' character is the parameter value, which can be modified freely and can also contain variables. An example involving variables is:
popular.labels=The three most popular labels are {0}, {1} and {2}.
For more information on replacing values, check out Translating ConfluenceActionSupport Content. Note that plugins store their text internally, so you must modify plugin text individually.
Steps For Modification
- Stop Confluence
- Under your install directory, open
\confluence\WEB-INF\lib\confluence-3.x.jar\com\atlassian\confluence\core\ConfluenceActionSupport.properties Search for the text you wish to modify, replace it and save the file in
<Confluence-Install>\confluence\WEB-INF\classes\com\atlassian\confluence\core. Please create this folder structure, if it does not exist already.If you re-bundle the JAR file, rather than re-deploy the class in the
WEB-INF\classesdirectory, make sure to move the backup JAR file out of the /lib directory, or the backup may be deployed by mistake.- Restart Confluence
Common Modifications
- Rename 'Dashboard' by searching for
Dashboard. To change "Dashboard" to "My Portal", changedashboard.name=Dashboardtodashboard.name=My Portal
Common Modifications
Task | Search For | Notes |
|---|---|---|
Rename 'Dashboard' | Dashboard | The |
Modify login page text | login. | The |
Modify Keyboard Shortcuts
Confluence provides a set of keyboard shortcuts. You could customise the shortcuts by making modifications inside the ConfluenceActionSupport.properties file.
To disable a particular shortcut, you can simply just comment out a respective line of code. One may like to disable the shortcut to one of the navigation links: View, Edit, Attachments, Info . For instance, to disable shortcut to Attachmentsone would comment out the following line:
#navlink.attachments.accesskey=a
- To modify an access key, one could simply just change the letter, bearing in mind the fact that the letter must be unique.
