Instalação Language Pack (pt BR)

From ADempiere
Revision as of 02:38, 20 January 2007 by Msavegnago (Talk) (Installing)

Jump to: navigation, search
This Wiki is read-only for reference purposes to avoid broken links.

Visão Geral

Nota: Estou trabalhando neste documento conforme o tempo que tenho. Vai demorar um pouquinho,
mas se alguem quiser colaborar, revisando ou traduzindo o que falta. Obrigado.


O ADempiere pode trabalhar com vários idiomas. Desta forma você pode fazer o download de diferentes traduções que normalmente são chamados de Language Pack - em Download Page in SF. O Language Pack é composto por vários arquivos XML que contêm a tradução para a língua que você escolhou. Estes arquivos são independentes da versão do Adempiere, ou seja, ao instalar qualquer versão mais nova Adempiere, basta aplicar o Language Pack.


Geralmente o Language Pack é um arquivo compactado (.zip, .rar, etc.) que contêm um diretório e dentro deste diretório estão arquivos com extensão .xml. Este diretório pode se chamar por exemplo pt_BR (para tradução em Português), it_IT (para tradução em Italiano), etc.


Este é o formato do arquivo: <table_name>_Trl_<language>.xml


por exemplo: AD_Window_Trl_pt_BR.xml, onde AD_Window é o nome da tabela e pt_BR é a linguagem. Se fosse em italiano seria Ad_Window_Trl_it_IT.xml.


Agora faça o download do Language Pack que desejar e vamos instalar o seu novo idioma. ;)

Nota: Vou apresentar como instalar o Language Pack - Portugues Brasil, mas o processo é o 
mesmo para qualquer idioma.


Instalação

Passo 1: Preparando a Instalação

Faça o Login no Adempiere com o System Administrator Role selecionando o idoma English.

LPI LoginSystem.PNG
LPI LoginSystemRole.PNG

Navegando pelo Menu > System Admin > General Rules > Language:

LPI Menu Language.PNG

Ao abrir a tela, procure pelo botão Grid Toggle Clicando neste botão, a janela muda seu formato e você pode fazer a seleção do idioma que quiser. No nosso caso procure o idioma Portuguese (Brazil).

LPI Window Language.PNG

Ao selecionar o Idioma, pressione novamente o botão Grid Toggle:

LPI Window Language MX.PNG

... Ative a opção System Language e clique em Language Maintenance.

LPI Language Add Missing Translations.PNG


Selecione a opção Add Missing Translations assim ele copia as palavas em Ingles para o que o sistema posssa traduzir. Espere até terminar.

Passo 2: Instalando o Language Pack.

Como foi dito acima, o Language Pack é um arquivo compactado. Enfim, descompacte o arquivo no diretorio (diretorio padrão é ADEMPIERE_HOME/data), verifique qual o diretorio que está o Adempier, no meu caso o ADEMPIERE_HOME é C:\adempiere\.

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 not cancel it.

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!

Testing

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


Link Related

  • If you can't find the Language Pack that you need, perhaps have not been done yet. You can do it and be added to the growing Contributors List of ADempiere!. Take a look the Localization_Guide by StevenK