Confluence 5.3 のサポートは終了しています。
ドキュメントの最新バージョンを確認してください。
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-x.x.x.jar Replace "x.x.x" with your Confluence version, for example for 4.3.2, it will be named "confluence-4.3.2.jar". Within this File, the relevant file to edit is :\com\atlassian\confluence\core\ConfluenceActionSupport.properties.
Refer to Editing jar files for reference.
The information on this page does not apply to Confluence OnDemand.
ファイルには 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.
変更を行うためのステップ
- Confluence を停止します。
- インストール ディレクトリで
\confluence\WEB-INF\lib\confluence-x.x.x.jar\com\atlassian\confluence\core\ConfluenceActionSupport.properties
を開きます。 変更したいテキストを検索し、テキストを置き換えたら、ファイルを
<Confluence-Install>\confluence\WEB-INF\classes\com\atlassian\confluence\core
に保存します。このフォルダ構造が存在しない場合は作成します。クラスを
WEB-INF\classes
ディレクトリに再デプロイするのではなく、JAR ファイルを再バンドルする場合、バックアップの JAR ファイルを /lib ディレクトリの外部に確実に移動するようにします。これを行わない場合、誤ってバックアップがデプロイされる可能性があります。- Confluence を再起動します。
Common Modifications
- Rename 'Dashboard' by searching for
Dashboard
. To change "Dashboard" to "My Portal", changedashboard.name=Dashboard
todashboard.name=My Portal
Common Modifications
タスク | 検索対象 | 注意 |
---|---|---|
Rename 'Dashboard' | ダッシュボード | The |
Modify login page text | login. | The |
キーボード ショートカットの変更
Confluence provides a set of keyboard shortcuts. You could customise the shortcuts by making modifications inside the ConfluenceActionSupport.properties
file.
特定のショートカットを無効にするには、それぞれのコード行をコメントアウトするだけです。表示、編集、添付ファイル、情報 など、ナビゲーション リンクの 1 つへのショートカットを無効にしたい場合があります。たとえば、添付ファイル へのショートカットを無効にするには、次の行をコメントアウトします。
#navlink.attachments.accesskey=a
- アクセスキーを変更するには、文字が一意でなければならないことを念頭に置きながら、文字を変更すればよいだけです。