... | ... | @@ -17,12 +17,12 @@ They also advice developers on the tools available for internationalization and |
|
|
|
|
|
To add a new translation resource, you will need three things: admin access on Transifex to add the new resource, access to Tor's translation server, and permission to push to [translation-tools.git](htt
|
|
|
ps://gitweb.torproject.org/translation-tools.git) and [translation.git](https://gitweb.torproject.org/translation.git). The rest of this section will assume that you are adding the The Metadata Anonymiza
|
|
|
tion Toolkit to Transifex ([#7892](https://trac.torproject.org/projects/tor/ticket/7892)).
|
|
|
tion Toolkit to weblate ([#7892](https://trac.torproject.org/projects/tor/ticket/7892)).
|
|
|
|
|
|
### Create the resource on Transifex
|
|
|
### Create the resource on weblate
|
|
|
|
|
|
Download _mat-gui.pot_ from _http://gitweb.torproject.org/user/jvoisin/mat.git_ or clone the repository locally and find the po file.
|
|
|
|
|
|
Download _mat-gui.pot_ from _http://gitweb.torproject.org/user/jvoisin/mat.git_ or clone the repository locally and find the po file. Log on to Transifex, navigate to our [project page](https://www.trans
|
|
|
ifex.com/projects/p/torproject/), click on _Resources_ and _Add new resource_:
|
|
|
|
|
|
* **Resource file**: locate _mat-gui.pot_
|
|
|
* **Name**: type in _Tails - mat-gui.pot_
|
... | ... | @@ -33,10 +33,6 @@ Click _Create resource_ and wait for the page to refresh. You should now see the |
|
|
* Update the _Source File URL_ field with the URL to _mat-gui.pot_: https://gitweb.torproject.org/user/jvoisin/mat.git/blob_plain/HEAD:/po/mat-gui.pot
|
|
|
* Tick the box that says _Automatically Update Source File_ and click _Save_
|
|
|
|
|
|
### Add existing translations
|
|
|
|
|
|
If the resource has existing translations, you will need to add them as well. Navigate to the page for the resource you just added, click _Add new translation_, select the language, locate the first tran
|
|
|
slation you wish to upload and click _Upload file_. Repeat for each existing translation.
|
|
|
|
|
|
### Update the configuration file in the translation-tools.git repository
|
|
|
|
... | ... | |