If you would like to translate Confluence into your local language, follow the instructions below on creating a language pack plugin from an example.
The Confluence community is sharing their in-progress and complete translations. You should check that a shared translation to your target language has not already been started here.
Start by checking out the technical overview of a Language Pack Plugin. Once you are familiar with the structure and content of a plugin, you can move on to creating your own:
<CONFLUENCE-INSTALL-DIRECTORY> called languagesThis example will work from an example plugin en_AU.zip.
<CONFLUENCE-INSTALL-DIRECTORY>/languages called en_AU. Note that is the file is just a renamed copy of default English properties file
confluence\WEB-INF\classes\com\atlassian\confluence\core\ConfluenceActionSupport.properties file to the example plugin directory src\etc\com\atlassian\confluence\core.
ConfluenceActionSupport_en_AU.properties file, and rename ConfluenceActionSupport.properties to ConfluenceActionSupport_en_AU.properties.
<CONFLUENCE-INSTALL-DIRECTORY>/languages/en_AU/src/etc/atlassian-plugin.xml <CONFLUENCE-INSTALL-DIRECTORY>/languages/en_AU/src/etc/com/atlassian/confluence/core/ConfluenceActionSupport_en_AU.properties <CONFLUENCE-INSTALL-DIRECTORY>/languages/en_AU/src/etc/templates/languages/en_AU/en_AU.png |
atlassian-plugin.xml to contain the relevant <KEY> and other references, including image type. Refer to the first section from the above Language Pack Plugins for help on deciding what to modify
<CONFLUENCE-INSTALL-DIRECTORY>/languages/<KEY>/src/etc/atlassian-plugin.xml <CONFLUENCE-INSTALL-DIRECTORY>/languages/<KEY>/src/etc/com/atlassian/confluence/core/ConfluenceActionSupport<KEY>.properties <CONFLUENCE-INSTALL-DIRECTORY>/languages/<KEY>/src/etc/templates/languages/<KEY>/<KEY>.png |
<CONFLUENCE-INSTALL-DIRECTORY>/languages and execute
ant -Dlanguage=<KEY> build |
<CONFLUENCE-INSTALL-DIRECTORY>/plugins/<KEY>/dist/languages-<KEY>.jar to <CONFLUENCE-INSTALL-DIRECTORY>/confluence/WEB-INF/lib
To collaborate on the translation process, you may wish to upload your translation to the Community Translations page. Repeat these instructions to test each iteration of your translation attempt.
To build the new language pack plugin, execute Ant in the confluence\src\etc\languages directory:
ant -Dlanguage=<LANGUAGE> build |
A JAR will be created in the languages/<LANGUAGE>/dist/ folder.
To install the translation in another instance of Confluence.
languages-<KEY>.jar into the <CONFLUENCE-INSTALL-DIRECTORY>/confluence/WEB-INF/lib of your target installation
If you would like to share your completed translation with other Confluence users, you can upload it here.
By providing Atlassian permission to bundle complete translations with the Confluence install you will soon be able to select your local language from the Confluence translations list under System Administration, without needing to package it as a plugin.