[PATCH xrandr 1/3] po4a: handle translated xrandr(1) manpage #37612
Gaetan Nadon
memsize at videotron.ca
Sun May 29 13:24:53 PDT 2011
On Sat, 2011-05-28 at 23:56 +0200, Denis Barbier wrote:
> 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.
That is very nice of you, thanks.
>
> >>> 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.
Ah! You mean that po4a, like any well behaved mutlti language tool, will
emit messages
to user while it runs during the build process. The messages are fetched
using gettext calls.
> 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.
Unlike building C code which contains source code calling gettext,
building man pages using po4a does not require the gettext build
infrastructure.
Can I hazard a guess and claim that installing xrandr module on a system
that does not have gettext, I would be able to read the French man
page?
>
> [...]
> > 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.
That's good enough.
>
> Denis
> _______________________________________________
> xorg-devel at lists.x.org: X.Org development
> Archives: http://lists.x.org/archives/xorg-devel
> Info: http://lists.x.org/mailman/listinfo/xorg-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg-devel/attachments/20110529/2b8f73c7/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://lists.x.org/archives/xorg-devel/attachments/20110529/2b8f73c7/attachment.pgp>
More information about the xorg-devel
mailing list