[PATCH xrandr 1/3] po4a: handle translated xrandr(1) manpage #37612

Denis Barbier bouzim at gmail.com
Sat May 28 14:56:24 PDT 2011


On 2011/5/28 Gaetan Nadon wrote:
> On Sat, 2011-05-28 at 05:34 -0400, David Prévot wrote:
[...]

Hello,

I am involved in the po4a project and will try to reply to your
questions about it.

>>> Unless I misread, po4a uses gettext which isn't initialized in any of
>>> the X.Org modules.  This may come as a surprise for those who have been
>>> routinely working on translation for years.
>>
>> I'd guess that's why some distributions began to ship their own manpages
>> translation at the beginning, but the idea would be to share those pages
>> for everyone now they exist.
>
> I am not sure I get the answer, are you saying po4a does not invoke gettext?
> That would make things simpler.

That is true, gettext calls in po4a source code are only there to
display translated messages during po4a processing.  The processing
itself does not invoke gettext nor any external tool (for the nroff
backend, other backends may require external tools), only perl is
required.

[...]
> Assuming the translations are moved "upstream" (which is obviously the right
> thing to do), would that result in other distros to adopt them (MAC.
> Solaris, Fedora, BSD's) or would there be some hurdle for them to do so?
> Perhaps po4a availability or what not. It would be sad to do the work and
> have it used by Debian only.
[...]

Po4a is definitely not Debian-centered; we cannot force other distros
to package it, but we help them by fixing problems they encounter.  I
remember discussions about FreeBSD and Fedora, I am pretty sure that
po4a is available on these systems, but I do not know for others.

Denis


More information about the xorg-devel mailing list