mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-02 17:59:36 +07:00
Refer software Poedit for translating files
This commit is contained in:
committed by
rakekniven
parent
51a39c7780
commit
8e2d4b6ae3
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user