How to Change Notification with English Translation When Using Non-English Language Pack

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

This guide is for informational purposes and is not eligible for support from Atlassian.  If you have any questions about the information on this page, please reach out to our community at Atlassian Answers for help. 

 

When you're using non-English language pack in Confluence, you might encounter a bug in Confluence (CONF-33460) where the content in Notification Box is not fully translated to your language pack.

 

The below steps are the instruction (even though the example is provided for Deutsch, it can be applied for other language as well) for the workaround to fix this.

手順

Before you proceed with the following, please take a backup of your Confluence Installation Directory:

To edit the JAR File, you can follow the KB Article on How to Edit Confluence JAR file.

  1. Locate the first file:

    <confluence-installation>\confluence\WEB-INF\atlassian-bundled-plugins\mywork-confluence-provider-plugin-x.x.x.jar
  2. Open the JAR file to locate the following file:

    mywork-confluence-provider-plugin-x.x.x.jar\com\atlassian\mywork\providers\confluence\registration-i18n.properties
  3. Find and copy the desired component (property name and value) in English.
    Example: Copy the following line
    com.atlassian.mywork.providers.confluence.page.comment.title={user} commented on {title}

     

  4. Locate the second file: (specific language pack that you use)

    <confluence-installation>\confluence\WEB-INF\atlassian-bundled-plugins\confluence-language-pack-de_DE-x.x.x-vxxxxxx-xxxx-xx-xx.jar
  5. Edit the JAR file to modify the following file:

    confluence-language-pack-de_DE-x.x.x-vxxxxxx-xxxx-xx-xx.jar\com\atlassian\mywork\providers\confluence\registration-i18n.properties
  6. Append the file with the line copied from Step 3 (ensure the same property doesn't exist by searching for it; otherwise you may need to modify the value instead of adding the property). Change the value to your desired translation.
    Example: Append the file with the following line
    com.atlassian.mywork.providers.confluence.page.comment.title=put_the_correct_translation {user} put_the_correct_translation {title} put_the_correct_translation

     

  7. Save the changes and the JAR file. Ensure it's placed at the same directory as before.

  8. Confluence を再起動します。
  9. Go to Confluence Admin >> Manage add-ons and update the 'Workbox - Confluence Provider Plugin'

指定したラベルを持つコンテンツはありません。

最終更新日 2018 年 11 月 2 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.