Skip to content

Commit 6d09c53

Browse files
bagasmejiangxin
authored andcommitted
l10n: README: document git-po-helper
Document the PO helper program (git-po-helper) with installation and basic usage. Signed-off-by: Bagas Sanjaya <[email protected]> Signed-off-by: Jiang Xin <[email protected]>
1 parent e54b271 commit 6d09c53

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

po/README.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,3 +286,34 @@ Testing marked strings
286286

287287
Git's tests are run under LANG=C LC_ALL=C. So the tests do not need be
288288
changed to account for translations as they're added.
289+
290+
291+
PO helper
292+
---------
293+
294+
To make the maintenance of XX.po easier, the l10n coordinator and l10n
295+
team leaders can use a helper program named "git-po-helper". It is a
296+
wrapper to gettext suite, specifically written for the purpose of Git
297+
l10n workflow.
298+
299+
To build and install the helper program from source, see
300+
[git-po-helper/README][].
301+
302+
Usage for git-po-helper:
303+
304+
- To start a new language translation:
305+
306+
git-po-helper init XX.po
307+
308+
- To update your XX.po file:
309+
310+
git-po-helper update XX.po
311+
312+
- To check commit log and syntax of XX.po:
313+
314+
git-po-helper check-po XX.po
315+
git-po-helper check-commits
316+
317+
Run "git-po-helper" without arguments to show usage.
318+
319+
[git-po-helper/README]: https://github.com/git-l10n/git-po-helper#readme

0 commit comments

Comments
 (0)