All Confluence UI text is contained in a single Java properties file. This file can be modified to change the default text, and also to translate Confluence into other languages than English.

この UI テキスト ファイルは ConfluenceActionSupport.properties です。Confluence のインストール ディレクトリで次のように操作します。

\confluence\WEB-INF\lib\confluence-2.x.jar

Within this File, the relevant file to edit is :\com\atlassian\confluence\core\ConfluenceActionSupport.properties.

Refer to Editing jar files for reference.

ファイルには name=value ペアを持つ、次の形式のパラメータが含まれます。

parameter.name=Parameter value

パラメーター名は「=」文字の前に置かれる任意のテキストで、変更すべきではありません。「=」文字の後の任意のテキストはパラメーター値で、自由に変更でき、変数を含めることもできます。変数を含む例は、次のようになります。

popular.labels=The three most popular labels are {0}, {1} and {2}.

For more information on replacing values, check out Translating ConfluenceActionSupport Content. Note that plugins store their text internally, so you must modify plugin text individually.

変更を行うためのステップ

  1. Confluence を停止します。
  2. インストール ディレクトリで \confluence\WEB-INF\classes\com\atlassian\confluence\core\ConfluenceActionSupport.properties を開きます。
  3. Search for the text you wish to modify, replace it and save
  4. Confluence を起動します。

Common Modifications

  • Rename 'Dashboard' by searching for Dashboard. To change "Dashboard" to "My Portal", change dashboard.name=Dashboard to dashboard.name=My Portal

Common Modifications

タスク

検索対象

注意

Rename 'Dashboard'

ダッシュボード

The dashboard.name parameter has the name. To change 'Dashboard' to 'My Portal', change dashboard.name=Dashboard to dashboard.name=My Portal and update any other occurrences of the word 'Dashboard' in the instance

Modify login page text

login.

The login.instructions parameter has the "Enter your account details below to login to Confluence" text

キーボード ショートカットの変更

Confluence provides a set of keyboard shortcuts. You could customise the shortcuts by making modifications inside the ConfluenceActionSupport.properties file.

  • To disable a particular shortcut, you can simply just comment out a respective line of code. One may like to disable the shortcut to one of the navigation links: View, Edit, Attachments, Info . For instance, to disable shortcut to Attachments one would comment out the following line:
    #navlink.attachments.accesskey=a
    
  • アクセスキーを変更するには、文字が一意でなければならないことを念頭に置きながら、文字を変更すればよいだけです。
  • ラベルなし