Translations for the Rich Text Editor

The Rich Text Editor provided by Confluence is TinyMCE. In Confluence version 2.2.10 and above it is possible to provide translations for the tooltips and labels in the Rich Text Editor.

Most of the editor's internationalised text consists of its tooltips. There are also a few labels such as those in the Image Properties dialog. If you are using Confluence in a language other than English, you will want to translate these messages as well as the standard Confluence text.

Confluence fully supports internationalisation of the rich text editor:

  • The translations for the rich text editor can be part of a Confluence language pack plugin. The TinyMCE properties can be included in the ConfluenceActionSupport properties file, along with the standard Confluence properties.
  • If your language pack does not contain translations for the rich text editor, the text will show in English.

    In Confluence versions 2.5.4 and earlier, Rich Text Editor translations can not be installed as a language pack. Refer to earlier documentation for a workaround.

Creating a new translation

The core editing strings for the Rich Text Editor translations are found in the file.

Add a new i18n plugin resource to atlassian-plugin.xml like this:

<resource name="i18n" type="i18n" location="com/atlassian/confluence/tinymceplugin/tinymce"/>

Now, put your translations (as described below) in (where locale is the target locale - e.g. de_DE) under the directory src/main/resources/com/atlassian/confluence/tinymceplugin.


Below is a partial listing of the core TinyMCE properties. The properties consist of 'key=value' pairs. To translate from English to another language, you would replace the text to the right of the '=' sign with the translation.

# English

## TinyMCE core
tinymce.bold_desc=Bold (Ctrl+B)
tinymce.italic_desc=Italic (Ctrl+I)
tinymce.underline_desc=Underline (Ctrl+U)
## paste plugin
tinymce.paste.paste_text_desc=Paste as Plain Text
tinymce.paste.paste_text_title=Use CTRL+V on your keyboard to paste the text into the window.
tinymce.paste.paste_text_linebreaks=Keep linebreaks
Was this page helpful?

Have a question about this article?

See questions about this article

Powered by Confluence and Scroll Viewport