Difference between revisions of "Language Pack Installation ja"

From ADempiere
Jump to: navigation, search
This Wiki is read-only for reference purposes to avoid broken links.
(No difference)

Revision as of 21:48, 13 May 2012


概要

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: インストールの準備

Log into ADempiere with the System Administrator Role with English language selected.

LPI LoginSystem.PNG
LPI LoginSystemRole.PNG

Go to the window Language:

LPI Menu Language.PNG

After you have clicked on language and you pressed F8 you will see this window where you can search for you language:

LPI Window Language.PNG

Change to Data grid toggle by pressing F8 again:

LPI Window Language MX.PNG

...enable System Language and Start Language Maintenance.

LPI Language Add Missing Translations.PNG


Select Add Missing Translations in order to copy all the English words into the translation areas. Wait until finish the process.

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:

LPI Menu Translation.PNG

...and open the window:

LPI Translation Import Export.PNG

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:

LPI Open Pack Language.PNG

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.

LPI Menu Synchronize Terminology.PNG

Ok, start the process....

LPI Synchronize Terminology Process.PNG

.... and wait for ....

LPI Synchronize End.PNG

Logout from ADempiere...

Ok, it is done!

テスト

Log into ADempiere with the User, Role and Client that you want. But, select your new language!!

LPI Login Spanish.PNG
LPI LoginRole Spanish.PNG

Well, you should be able to see ADempiere in your new language now.....

LPI ADempiere Spanish.PNG


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.

関連情報

ランゲージパックの例