From 6d09c53001491f67437b2f3ac8b16db86bfd4de1 Mon Sep 17 00:00:00 2001 From: Bagas Sanjaya Date: Thu, 11 Mar 2021 17:57:15 +0700 Subject: l10n: README: document git-po-helper Document the PO helper program (git-po-helper) with installation and basic usage. Signed-off-by: Bagas Sanjaya Signed-off-by: Jiang Xin --- po/README.md | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) (limited to 'po') diff --git a/po/README.md b/po/README.md index efd5baaf1d..cafb5cf365 100644 --- a/po/README.md +++ b/po/README.md @@ -286,3 +286,34 @@ Testing marked strings Git's tests are run under LANG=C LC_ALL=C. So the tests do not need be changed to account for translations as they're added. + + +PO helper +--------- + +To make the maintenance of XX.po easier, the l10n coordinator and l10n +team leaders can use a helper program named "git-po-helper". It is a +wrapper to gettext suite, specifically written for the purpose of Git +l10n workflow. + +To build and install the helper program from source, see +[git-po-helper/README][]. + +Usage for git-po-helper: + + - To start a new language translation: + + git-po-helper init XX.po + + - To update your XX.po file: + + git-po-helper update XX.po + + - To check commit log and syntax of XX.po: + + git-po-helper check-po XX.po + git-po-helper check-commits + +Run "git-po-helper" without arguments to show usage. + +[git-po-helper/README]: https://github.com/git-l10n/git-po-helper#readme -- cgit v1.2.3