My app for Jira, Confluence or Bitbucket should support more languages.
You can add a language file to the app, provided it runs on an Atlassian system.
This is not a supported feature. You may create your own language files, but you will need to maintain and update them on your own, if you update the app. Troubleshooting the process described below is not part of support.
- Go to the Atlassian Marketplace listing of the respective app, tab "Versions" and click "See all x versions"
- In the version list, hover over the version you want to use and click "Download".
- Save the file to your computer.
- Use a file compression tool to either unpack the resulting file or edit the package.
- Open the folder "i18n".
- Copy the file "i18n.properties" and rename it to the language, e.g. "i18n_de.properties" for German. Make sure that the encoding is set to UTF-8.
You will find a list of items to translate. For example
Everything to the right of "=" can be translated. However, it is not permitted to change the name of the app or other proprietary names (e.g. "Confluence" or "Jira").
After translating the complete information, check that all special characters are written with unicode numbers. This includes, but is not limited to, ä, ö, ü, ß, é, í and so forth. For example
- Back up the finished file on your file system for later use. You will need it again when you update the app.
If you unpacked the app package in step 4, pack it again.
Upload the package in the administration, under "Manage apps" click "Upload app". You can do this even while the app is already installed, provided the version you upload is higher or equal to the installed version.
- If necessary, activate the app or add a license key.
Now if you change your language settings to the new language, you will see the translated buttons and descriptions.
Updating the app
When you want to install a new version of the app, you need to go through the same process again. You can however reuse the file you saved in step 9. Make sure to check if lines were added or deleted in the new "i18n.properties" and update your file accordingly before packing it with the app.