All Confluence UI text is contained in a single Java properties file. This file can be modified to change the default text or translate Confluence into other languages than English.
この UI テキスト ファイルは ConfluenceActionSupport.properties です。Confluence のインストール ディレクトリで次のように操作します。
ファイルには name=value ペアを持つ、次の形式のパラメータが含まれます。
パラメーター名は「=」文字の前に置かれる任意のテキストで、変更すべきではありません。「=」文字の後の任意のテキストはパラメーター値で、自由に変更でき、変数を含めることもできます。変数を含む例は、次のようになります。
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.
変更を行うためのステップ
- Confluence を停止します。
- Under your install direcory, open
\confluence\WEB-INF\classes\com\atlassian\confluence\core\ConfluenceActionSupport.properties
- Search for the text you wish to modify, update the parameter value and save the file
- Confluence を起動します。
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
- アクセスキーを変更するには、文字が一意でなければならないことを念頭に置きながら、文字を変更すればよいだけです。