Language Pack Installation ja
Contents
概要
ADempiereは多くの言語に翻訳されています。Download Page in SFから、ランゲージパックと呼ばれる、異なる言語の翻訳情報をダウンロードできます。ランゲージパックはXMLファイルのセットであり、利用する言語の翻訳情報が記録されています。それらのファイルはバージョンへの依存関係はなく、もし新しいADempiereのバージョンに古いバージョンで用いられたランゲージパックを適用する場合には、新しい項目は翻訳されない状態のまま表示されます。
一般的にランゲージパックは一つのフォルダに対する圧縮ファイル(.zip, .rar等)の構成をとり、そのフォルダに多数のXML形式ファイルが含まれています。フォルダーはイタリア語の翻訳ファイルの場合、it_ITというように、命名されています。
ファイルには、次に示すような名称がつけられています: <テーブル名>_Trl_<言語名>.xml たとえば、AD_Window_Trl_es_MX.xmlは、AD_Windowというテーブルにおける、ex_MXという言語(メキシコで利用されているスペイン語)が該当します。
ランゲージパックをダウンロードした後、新しい言語をインストールしなければなりません。ここに必要な操作を記載します。
Note: ここでは、メキシコ用スペイン語をインストールの例として用いますが、必要に応じて選択する言語を読み替えてください。
インストール
Step 1: インストールの準備
ADempiereにシステム管理者の職責で、言語にEnglishを指定してログインします。
Languageに移動します:
言語をクリックした後、F8を押すと、言語を選択できるこちらのウィンドウが表示されます:
F8を再び押し、Data grid toggleに変更します:
...System Languageを有効にし、Language Maintenanceを開始します。
すべての英語の用語を翻訳エリアにコピーするために、Add Missing Translationsを選択します。処理が終わるまでしばらく待ちます。
Step 2: ランゲージパックのインストール
As we said above, the Language Pack is a compressed file. Then, extract it to any directory (the default directory is ADEMPIERE_HOME/data), but you can choose anywhere.
Please be careful: the language should be the same as you will activate in the Step 1. So, es_ES is not the same as es_MX!
Go to the window Translation Import/Export:
...and open the window:
Leave the Client and Table selection empty and select your Language. Now click on the Import button and select the directory where the xml files are located:
Wait until finish the process; can delay some minutes, but do not cancel it. You should get a line at the bottom of the window to say "Your directory". When you see this message, it mean that importing process has been done.
After, go to the window Synchronize Terminology in order to add the translations.
Ok, start the process....
.... and wait for ....
Logout from ADempiere...
Ok, it is done!
テスト
Log into ADempiere with the User, Role and Client that you want. But, select your new language!!
Well, you should be able to see ADempiere in your new language now.....
Tips
翻訳情報のエクスポート
- Method 1:
Linux: $ sh utils/RUN_TrlExport.sh
- Method 2:
In the ADempiere ERP window: Menu -> System Admin -> General Rules -> System Rules -> Translation Import / Export.
- Suggestion:
- Suggest to use method 1. Because Method 2 will miss some items or tables.
翻訳情報のインポート
- Method 1:
Linux: $ sh utils/RUN_TrlImport.sh
- Method 2:
In the ADempiere window: Menu -> System Admin -> General Rules -> System Rules -> Translation Import / Export.
関連情報
- Localization Projects to see the whole bazaar effort on this.
- ADempiere Translation Project is a new bazaar way for translation co-work.
- If you can't find the Language Pack that you need, perhaps is has not been created before. You can do it and be added to the growing List of ADempierean Contributors!. Take a look at this Localization_Guide by StevenK
- Currently supported languages