Merge pull request #12058 from onny/poedit

Refer software Poedit for translating files
This commit is contained in:
rakekniven 2025-03-28 22:14:07 +01:00 committed by GitHub
commit 88f2ce7641
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -355,12 +355,12 @@ The translation tool requires **gettext**, installable via::
The above tool generates a template that can be used to translate all strings
of an app. This template is located in the folder :file:`translationfiles/template/` with the
name :file:`myapp.pot`. It can be used by your favored translation tool which
then creates a :file:`.po` file. The :file:`.po` file needs to be placed in a
folder named like the language code with the app name as filename - for example
:file:`translationfiles/es/myapp.po`. After this step the tool needs to be invoked to
transfer the po file into our own fileformat that is more easily readable by
the server code::
name :file:`myapp.pot`. It can be used by your favored translation tool such
as `Poedit <https://poedit.net>`_. It then creates a :file:`.po` file.
The :file:`.po` file needs to be placed in a folder named like the language code
with the app name as filename - for example :file:`translationfiles/es/myapp.po`.
After this step the tool needs to be invoked to transfer the po file into our
own fileformat that is more easily readable by the server code::
translationtool.phar convert-po-files