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:
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.
The core editing strings for the Rich Text Editor translations are found in the tinymce.properties file.
Add a new i18n plugin resource to atlassian-plugin.xml
like this:
1 2<resource name="i18n" type="i18n" location="com/atlassian/confluence/tinymceplugin/tinymce"/>
Now, put your translations (as described below) in tinymce_locale.properties
(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.
1 2# English ## TinyMCE core tinymce.bold_desc=Bold (Ctrl+B) tinymce.italic_desc=Italic (Ctrl+I) tinymce.underline_desc=Underline (Ctrl+U) tinymce.striketrough_desc=Strikethrough . . . ## 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 . . .
Rate this page: