git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Translation of git manpages

From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Date
Jan 8, 2019, 13:54 UTC
Message-ID
<87lg3v6yqr.fsf@evledraar.gmail.com>
In-Reply-To
<1992944.NOdEsaAZKb@cayenne>
On Mon, Jan 07 2019, Jean-Noël AVILA wrote:
Show 31 quoted lines
> Dear fellow translators,
>
> I'm trying to put up a longstanding project of providing translated manual
> pages for Git. After several experiments, the best choice seemed to be the use
> of po4a[1] to convert the asciidoc[2] sources of git manpages into po files
> that could be processed the same way we are already doing for the translation
> of Git itself.
>
> The text is segmented into paragraphs and structural units (titles, list
> items...) and when translated, they are reinjected into the original text
> structure. Only inline asciidoc formatting marks are passed in segments.
>
> The translation takes place in a dedicated repository[3]  . It simpler to not
> meddle in git main workflow while adjusting the translation workflow. If
> everybody is satisfied with it, we can maybe migrate the repo under git
> organization. Now, this repo is standalone with respect to translation content
> source, but a patch has been submitted so that the translated manpages can be
> generated and installed from the main git project[4]. Symmetrically, there's a
> script in the project to pull the manpages source files from the main git repo.
>
> The repository is connected to Weblate[5]  if you have collaborators who don't
> know how to process po files and prefer translating in the browser.
>
> The repository is also open to pull-request on the tooling. Let me know if you
> have issues. In any case, the translation work can be reused for any other
> arrangements.
>
> There is already a kernel of translation in French, from my experiments and a
> previous effort of German translation[6] was gettextized. If you have such
> archives for other languages, I'd be happy to integrate them, even if they are
> not up to date.

Thanks. This has come up on list many times before and it's great to have some movement on it.

I think a way to have early exposure of these to a lot more people would be to have these on the git-scm.com site. Jeff knows more about the build process there.

I see the general completion of French & German is at ~10%, but maybe there's some pages that are fully translated already? We could then have some UI or git-scm.com that allows you to switch between languages along with some general overview page per-language.

Are the translations contributed through https://hosted.weblate.org/projects/git-manpages/translations/ something that license-wise (Signed-off-by etc.) we'd eventually be able to upstream in git.git?

It would be great to eventually have something we can build as part of our build process, so e.g. Debian can have git-man-de similar to manpages-de now.

Previous: Jean-Noël AVILANext: Jeff King
Message 2 of 4 in “Translation of git manpages”
  1. Jean-Noël AVILAJan 7, 2019
  2. Ævar Arnfjörð BjarmasonJan 8, 2019
  3. Jeff KingJan 9, 2019
  4. Jean-Noël AvilaJan 9, 2019

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.