From Mageia wiki
Jump to: navigation, search


Drakconf multiflag.png
Outras línguas
inglês ; francês ; holandês ; português brasileiro ;
this page is a draft.
It requires improvements. If you want to improve it, simply log in and click on the Edit tab.

Please remove this {{Draft}}template, when you're sure the page is complete and correct.


View the other draft pages, or other pages to improve and maintain.

Guia de Sincronização no Transifex para a Equipa l10n

Instalação do Utilitário do Cliente Transifex

Para instalar este utilitário utilize a página correspondente do seu gestor de pacotes (Instalar e Remover o programa no «Centro de Controle do Mageia»). Basta instalar o pacote "transifex-client" e as suas dependências.

Configuração Inicial

To use Mageia Transifex effectively, you have to add your credentials into transifex configuration file (the default location is ~/.transifexrc). You can either create such file using your favorite text editor (just add the following lines and save it as ~/.transifexrc):

[https://www.transifex.com] hostname = https://www.transifex.com password = <your_password> token = username = <your_username> [http://www.transifex.net] nome de anfitrião = https://www.transifex.com palavra-passe = <your_password> código = nome de utilizador = <your_username>

(where <your_password> and <your_username> are respectively your password and your username) or you can use inbuilt configurator:

$ tx init
Creating .tx folder... Transifex instance [https://www.transifex.com]: <Press Enter> Creating skeleton... Creating config file... No configuration file found. No entry found for host https://www.transifex.com. Creating... Por favor, insira o seu nome de utilizador do transifex: <Enter your username> Palavra-passe: <Enter your password> Updating /home/username/.transifexrc file... Done.

The configurator can be run from any folder in your system.

Pushing a sua Tradução do Git Clone para Transifex

Open the folder with translations (usually /po) in your git clone (please refer to this page for the instructions on how to use git).

Insira o seguinte comando:

tx push -t -l <your_locale>

Exemplo:

$ tx push -t -l uk

Use --force switch to force the replacement of the new Transifex translations. Example:

$ tx push -t -l uk --force

Pulling a sua Tradução do Transifex para Git Clone

Open the folder with translations (usually /po) in your git clone (please refer to this page for the instructions on how to use git).

Insira o seguinte comando:

tx pull -l <your_locale>

Exemplo:

$ tx pull -l uk