The Semi-Automatic Classification Plugin (SCP) can be translated from English to any language.
I invite you to translate the user manual and the program interface to your language. Your contribution is very important for the user community!
I invite you to translate the user manual and the program interface to your language. Your contribution is very important for the user community!
The following guide illustrates the main steps for the translation, which can be performed:
- using the free online service Transifex;
- using the gettext .po files.
Before translating, please read this document from the QGIS translation guide, which helps you understand the reStructuredText.
Method 1. Translation using the free online service Transifex
This is probably the easiest way to translate the manual using an online service.
- Join the Semi-automatic Classification Manual project
Go to the page https://www.transifex.com/semi-automatic-classification/semi-automatic-classification-plugin-manual and click the button
Help translate
. You can sign in using your Google or Facebook account, or with a free registration. - Select your language
Select your language and click the button
Join team
. If your language is not listed, click the buttonRequest language
. - Translation
There are several files to be translated, which refer to the sections of the SCP documentation. To translate the SCP interface you should select the file
semiautomaticclassificationplugin.ts
.
Method 2. Translation using the gettext .po files
In order to use this method, you should be familiar with GitHub. This translation method allows for the translation of the PO files locally.
- Download the translation files
Go to the GitHub project https://github.com/semiautomaticgit/SemiAutomaticClassificationManual/tree/master/locale and download the .po files of your language (you can add your language, if it is not listed), or you can fork the repository. Every file .po is a text file that refers to a section of the User Manual.
- Edit the translation files
Now you can edit the .po files. It is convenient to edit those file using one of the following programs: for instance Poedit for Windows and Mac OS X, or Gtranslator for Linux or OmegaT (Java based) for Windows, Linux and Mac OS X. These editors allow for an easy translation of every sentence in the User Manual.