Translation#
Everyone is welcome to contribute to translation, it is possible to translate the app, the server or QGIS plugin.
Multiplatform app#
Simplified way#
Download the .arb
English file of app’s sentences from the
GitLab repository.
Translate the strings after the double points, maintaining the same name
before the double points. At this point rename the file from app_en.arb
to
app_{languagename}.arb
, where languagename
is the l10n code for the
language (like es
for Spanish, de
for German etc).
At this point you can open an issue in the Gitlab source code (this require you have a GitLab’s account) attaching the translated file or send the translated file to one of the DigiAgriApp mobile developers.
Full and complex way#
It is possible to translate the multiplatform app following this procedure. First you need to have Visual Studio Code installed, second you need to have a Gitlab account, you can create one here, third you need to download the DigiAgriApp mobile source code.
git clone https://gitlab.com/digiagriapp/digiagriapp_mobile
At this point start Visual Studio Code and open the main folder of
DigiAgriApp mobile source code. Inside lib/l10n
folder you can find all
the available translations.
New strings can be added by just editing the file and running the localization generation string from the button on the top right of the Visual Studio Code editor.
New languages can be added by just creating new files in the folder, the
file should named app_{languagename}.arb
, where languagename
is the
l10n code for the language (like es
for Spanish, de
for German etc),
you need to maintain the existing naming convention on the left part of the
JSON file and translate the string after the double points.
Server#
The server is not translated yet, you can help to start.
QGIS plugin#
The QGIS plugin is not translated yet, you can help to start.