Skip to content

Latest commit

 

History

History

i18n

Tutorial for translating the PIA software

First, we would like to thank you for taking an interest in translating the content of the PIA software.
To do so, you will need to login to your Github account or create one if needed.

Creating the translation file

Open en.json

In the language folder (i18n) open the english version (en.json).

Select and copy the file content

Select the text of the whole document and copy it (ctrl + C on Window, cmd + C on MacOS or right click + Copy)

Create a new file

Go back to the language folder (i18n) and click on "Create new file".

Name the new file

Click in the name field and name the file using the following nomenclature: language-iso-code.json. You can find the list of the ISO 639-1 standardised nomenclature corresponding to your language on wikipedia. For example, the french file is named "fr.json" and the english one "en.json".

Paste the content you've copied from en.json in the new file

Paste the text you have previously copied (ctrl + V on Window, cmd + V on MacOS or right click + Paste) in the text area. You are now ready for translating the software!


Translating the file

Editing the fields

Texts to translate are the ones between quotation marks after the colon.

Submitting the file

Whenever you want, even if the translation is not finished as you'll be able to edit it afterward, you can send us the translation by clicking on Propose new file.


Editing an existing translation

Editing a file

Click on the translation file you're interested in contributing to available in the language folder (i18n). Then click on the pen icon.

Editing the fields

The texts to translate are the ones between quotation marks after the colon.

Submitting the file

You can submit the changes you've made by clicking on Propose file change.