Re: [PATCH] l10n: add framework for localizing the manpages

2017-03-15 Thread Stefan Beller
On Wed, Mar 15, 2017 at 12:58 AM, Jean-Noël Avila wrote: > The use of po files introduces tools to automatically mark the > paragraphs that need to be retranslated or if the translation was near > enough to be reviewed (entries are translated with the approaching > translation and marked as "fuzz

Re: [PATCH] l10n: add framework for localizing the manpages

2017-03-15 Thread Junio C Hamano
Jean-Noël Avila writes: > Le 13/03/2017 à 01:01, Junio C Hamano a écrit : >> +#. type: Plain text >>> +#: git-add.txt:15 >>> +#, no-wrap >>> +msgid "" >>> +"'git add' [--verbose | -v] [--dry-run | -n] [--force | -f] [--interactive >>> | -i] [--patch | -p]\n" >>> +"\t [--edit | -e] [--[no-]all |

Re: [PATCH] l10n: add framework for localizing the manpages

2017-03-15 Thread Ævar Arnfjörð Bjarmason
On Wed, Mar 15, 2017 at 9:11 AM, Jean-Noël Avila wrote: > Le 14/03/2017 à 22:00, Ævar Arnfjörð Bjarmason a écrit : >> On Mon, Mar 13, 2017 at 1:01 AM, Junio C Hamano wrote: >>> Jean-Noel Avila writes: >> Jean: Comments on the patch: >> >> - Firstly thanks for working on this. When I hacked up th

Re: [PATCH] l10n: add framework for localizing the manpages

2017-03-15 Thread Jean-Noël Avila
Le 14/03/2017 à 22:00, Ævar Arnfjörð Bjarmason a écrit : > On Mon, Mar 13, 2017 at 1:01 AM, Junio C Hamano wrote: >> Jean-Noel Avila writes: > Jean: Comments on the patch: > > - Firstly thanks for working on this. When I hacked up the initial po > support in v1.7.8-rc2-1-g5e9637c629 I always mean

Re: [PATCH] l10n: add framework for localizing the manpages

2017-03-15 Thread Jean-Noël Avila
Le 13/03/2017 à 01:01, Junio C Hamano a écrit : > +#. type: Plain text >> +#: git-add.txt:15 >> +#, no-wrap >> +msgid "" >> +"'git add' [--verbose | -v] [--dry-run | -n] [--force | -f] [--interactive >> | -i] [--patch | -p]\n" >> +"\t [--edit | -e] [--[no-]all | --[no-]ignore-removal | [--update

Re: [PATCH] l10n: add framework for localizing the manpages

2017-03-14 Thread Junio C Hamano
Ævar Arnfjörð Bjarmason writes: > I think this series is on the right track, and that po4a is the right > tool for the job. OK, thanks for the input.

Re: [PATCH] l10n: add framework for localizing the manpages

2017-03-14 Thread Ævar Arnfjörð Bjarmason
On Mon, Mar 13, 2017 at 1:01 AM, Junio C Hamano wrote: > Jean-Noel Avila writes: Jean: Comments on the patch: - Firstly thanks for working on this. When I hacked up the initial po support in v1.7.8-rc2-1-g5e9637c629 I always meant to try out po4a, but never got around to it. It's much easier th

Re: [PATCH] l10n: add framework for localizing the manpages

2017-03-12 Thread Junio C Hamano
Jean-Noel Avila writes: > +#. type: Title = > +#: git-add.txt:2 > +#, no-wrap > +msgid "git-add(1)" > +msgstr "git-add(1)" > + > +#. type: Title - > +#: git-add.txt:5 > +#, no-wrap > +msgid "NAME" > +msgstr "NOM" > + > +# > +#. type: Plain text > +#: git-add.txt:7 > +msgid "git-add - Add file con

Re: [PATCH] l10n: add framework for localizing the manpages

2017-03-12 Thread Jean-Noël AVILA
This patch is only a preview and a request for comment. The tool used to perform the localization of manpages is po4a (po for anything). This tool digests the asciidoc source files and writes a pot file, and then merges back the po files into translated asciidoc files, for further processing. T