From: Hypolite Petovan Date: Thu, 29 Nov 2018 14:19:33 +0000 (-0500) Subject: Add details to translation documentation X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=90f0fdc93bd1abfcd5d39e93d74f148e776cd194;p=friendica.git Add details to translation documentation --- diff --git a/doc/translations.md b/doc/translations.md index e545aa1c1e..24b3d8b75d 100644 --- a/doc/translations.md +++ b/doc/translations.md @@ -37,13 +37,13 @@ Otherwise: cd /path/to/friendica-addons/ /path/to/friendica/bin/run_xgettext.sh -s -In either case, you need to commit the updated `/lang/C/messages.po`. +In either case, you need to commit the updated `/lang/C/messages.po` to your working branch. ## Update translations from Transifex Please download the Transifex file "for use" in `view/lang//messages.po`. -Then run `bin/console po2php view/lang//messages.po` to update the related `strings.php` file. +Then run `bin/console po2php view/lang//messages.po` to update the related `strings.php` file and commit both files to your working branch. ### Using the Transifex client @@ -67,7 +67,7 @@ To update the PO files after you have translated strings of e.g. Esperanto on th $> tx pull -l eo -Then run `bin/console po2php view/lang//messages.po` to update the related `strings.php` file. +Then run `bin/console po2php view/lang//messages.po` to update the related `strings.php` file and commit both files to your working branch. ## Translation functions usage