mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-04 10:46:21 +07:00
Merge pull request #1424 from owncloud/phil-davis-dev-app-l10n
Dev App L10n minor corrections
This commit is contained in:
@@ -4,7 +4,7 @@ Translation
|
|||||||
|
|
||||||
.. sectionauthor:: Bernhard Posselt <dev@bernhard-posselt.com>
|
.. sectionauthor:: Bernhard Posselt <dev@bernhard-posselt.com>
|
||||||
|
|
||||||
ownCloud's translation system is powered by `Transifex <https://www.transifex.com/projects/p/owncloud/>`_. To start translating sign up and enter a group. If your community app should be added to Transifex contact someone of the `core developers <http://owncloud.org/about/contact/>`_ to set it up for you.
|
ownCloud's translation system is powered by `Transifex <https://www.transifex.com/projects/p/owncloud/>`_. To start translating sign up and enter a group. If your community app should be added to Transifex contact one of the `core developers <http://owncloud.org/about/contact/>`_ to set it up for you.
|
||||||
|
|
||||||
PHP
|
PHP
|
||||||
===
|
===
|
||||||
@@ -142,7 +142,7 @@ The translation script requires **Locale::PO** and **gettext**, installable via:
|
|||||||
The above script generates a template that can be used to translate all strings
|
The above script generates a template that can be used to translate all strings
|
||||||
of an app. This template is located in the folder :file:`template/` with the
|
of an app. This template is located in the folder :file:`template/` with the
|
||||||
name :file:`myapp.pot`. It can be used by your favored translation tool which
|
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 place in a
|
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
|
folder named like the language code with the app name as filename - for example
|
||||||
:file:`l10n/es/myapp.po`. After this step the perl script needs to be invoked to
|
:file:`l10n/es/myapp.po`. After this step the perl script needs to be invoked to
|
||||||
transfer the po file into our own fileformat that is more easily readable by
|
transfer the po file into our own fileformat that is more easily readable by
|
||||||
|
|||||||
Reference in New Issue
Block a user