Skip to contentSkip to conversation

Inclusion of translated git manpages into the packaging systems

DISCUSSION Jean-Noël AVILA 3 participants 5 messages Jun 9, 2019 – Jun 11, 2019

lore
Share & tools
lore
#0 lore raw

Hi,

I took on the task of creating a project for the translation of man-pages at
https://github.com/jnavila/git-manpages-l10n

Up to now, the translations have started for 3 languages:

* German (2 pages)
* Brazilian Portuguese (6 pages)
* French (11pages)

In order to provide feedback to translators, it's time to have these pages included with the distributions of git. Right now the process of compilation of the man-pages is still a bit off-tree, because it relies on a recent version of po4a (v0.56) which has not yet reached most distros.

I miss expertise in the process of packaging. Depending on the type of distribution, the route to packaging might differ (for Mac OS and Windows, maybe a direct inclusion, for Linux dists sister packages). That's why I need your help to correctly perform this integration.

Thanks in advance,

Jean-Noël

#1 lore raw

Hi Jean-Noël,

Quoted 8 lines · Jean-Noël AVILA

I took on the task of creating a project for the translation of man-pages at
https://github.com/jnavila/git-manpages-l10n

Up to now, the translations have started for 3 languages:

* German (2 pages)
* Brazilian Portuguese (6 pages)
* French (11pages)

Nice!!!

Quoted 5 lines

In order to provide feedback to translators, it's time to have these pages included with the distributions of git. Right now the process of compilation of the man-pages is still a bit off-tree, because it relies on a recent version of po4a (v0.56) which has not yet reached most distros.

Maybe there is a way to skip the Makefile task when a too-old po4a is detected, with a warning?

Quoted 4 lines

I miss expertise in the process of packaging. Depending on the type of distribution, the route to packaging might differ (for Mac OS and Windows, maybe a direct inclusion, for Linux dists sister packages). That's why I need your help to correctly perform this integration.

Historically, Git for Windows punts on translations, excluding any non-en-US documentation (to save on bandwidth for the installer, which did grow from <30MB to 44MB in the last four years alone).

There were a couple of motions to change that (maybe in the form of add-on packages/installers, maybe in the form of a "full" installer), but nothing came of it so far.

Therefore, as far as Windows is concerned, I hate to admit that my answer is "don't worry for now, we only include US-English documentation anyway"... :-(

Ciao,
Dscho

#2 lore raw
Quoted 5 lines · On Monday, 10 June 2019 19:09:54 CEST Johannes Schindelin wrote:

Hi Jean-Noël,

Quoted 1 line · Jean-Noël AVILA

I took on the task of creating a project for the translation of man-pages

at

Quoted 10 lines
Quoted 7 lines

https://github.com/jnavila/git-manpages-l10n

Up to now, the translations have started for 3 languages:

* German (2 pages)
* Brazilian Portuguese (6 pages)
* French (11pages)

Nice!!!

Quoted 8 lines
Quoted 5 lines

In order to provide feedback to translators, it's time to have these pages included with the distributions of git. Right now the process of compilation of the man-pages is still a bit off-tree, because it relies on a recent version of po4a (v0.56) which has not yet reached most distros.

Maybe there is a way to skip the Makefile task when a too-old po4a is detected, with a warning?

The project is provided with a script that downloads the correct version of po4a from the root repo (this is needed for ci).

I can provide an archive comprising the precompiled manpages so that packagers don't need to mess up with po4a.

Quoted 9 lines
Quoted 5 lines

I miss expertise in the process of packaging. Depending on the type of distribution, the route to packaging might differ (for Mac OS and Windows, maybe a direct inclusion, for Linux dists sister packages). That's why I need your help to correctly perform this integration.

Historically, Git for Windows punts on translations, excluding any non-en-US documentation (to save on bandwidth for the installer, which did grow from <30MB to 44MB in the last four years alone).

It might not be the correct argument for now, but a tgz of the manpages presently weights 230kB.

Quoted 4 lines

There were a couple of motions to change that (maybe in the form of add-on packages/installers, maybe in the form of a "full" installer), but nothing came of it so far.

If there's any chance to get this move alive, who should I refer to? Otherwise, where can an additional package be built?

Quoted 7 lines

Therefore, as far as Windows is concerned, I hate to admit that my answer is "don't worry for now, we only include US-English documentation anyway"... :-(

Ciao,
Dscho

#3 lore raw
Quoted 2 lines · Jean-Noël AVILA

I can provide an archive comprising the precompiled manpages so that packagers don't need to mess up with po4a.

That's an interesting thing to hear---if this effort eventually relieves me from having to supply preformatted manpages and HTML docs (after all, en/C is just one more locale from your point of view, right?), that would be an excellent news for me ;-)

The last-mile packagers that are directly facing end-users would be happy to have a place (or two) that they can pull the pre-built docs for these locales from, and they would not particularly care where exactly those places are, I think.

#4 lore raw
Quoted 3 lines · On Monday, 10 June 2019 21:15:58 CEST Junio C Hamano wrote:
Quoted 1 line · Jean-Noël AVILA

I can provide an archive comprising the precompiled manpages so that

packagers

Quoted 6 lines
Quoted 1 line

don't need to mess up with po4a.

That's an interesting thing to hear---if this effort eventually relieves me from having to supply preformatted manpages and HTML docs (after all, en/C is just one more locale from your point of view, right?), that would be an excellent news for me ;-)

I wasn't expecting this one ;-D In fact, the translation project is different in two points:

* Not all the sources have been copied; only sources for some manpages
* the en version is the source for translation. It's not compiled (why
bother? it's already done in the main repo).

Quoted 5 lines

The last-mile packagers that are directly facing end-users would be happy to have a place (or two) that they can pull the pre-built docs for these locales from, and they would not particularly care where exactly those places are, I think.

BTW, who is using the preformatted docs? If it's useful to anybody to have access to the compound of en + translated docs, such repo can be set up.

Please note that Johannes clearly stated that git-for-windows cannot afford more weight, so English only manpages are still required.