readme.md

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

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

Select and copy the file content

Select and copy 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

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

Name the new file

Name 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 copied text 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

The texts to translate are the only ones between quotation marks after the colon. Refer to the pictures below to see an example of the first line being translated to Spanish. Edit translation file Edit translation file Edit translation file

Submitting the file

Submit translation 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

Edit translation 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 only ones between quotation marks after the colon. Refer to the pictures below to see an example of the first line being translated to Spanish. Edit translation file Edit translation file Edit translation file

Submitting the file

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