<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.26.0">
</HEAD>
<BODY>
On Sat, 2011-05-28 at 23:56 +0200, Denis Barbier wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
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.
</PRE>
</BLOCKQUOTE>
That is very nice of you, thanks.
<BLOCKQUOTE TYPE=CITE>
<PRE>
>>> 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.
</PRE>
</BLOCKQUOTE>
Ah! You mean that po4a, like any well behaved mutlti language tool, will emit messages<BR>
to user while it runs during the build process. The messages are fetched using gettext calls.
<BLOCKQUOTE TYPE=CITE>
<PRE>
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.
</PRE>
</BLOCKQUOTE>
Unlike building C code which contains source code calling gettext, building man pages using po4a does not require the gettext build infrastructure.<BR>
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?
<BLOCKQUOTE TYPE=CITE>
<PRE>
[...]
> 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.
</PRE>
</BLOCKQUOTE>
That's good enough.
<BLOCKQUOTE TYPE=CITE>
<PRE>
Denis
_______________________________________________
<A HREF="mailto:xorg-devel@lists.x.org">xorg-devel@lists.x.org</A>: X.Org development
Archives: <A HREF="http://lists.x.org/archives/xorg-devel">http://lists.x.org/archives/xorg-devel</A>
Info: <A HREF="http://lists.x.org/mailman/listinfo/xorg-devel">http://lists.x.org/mailman/listinfo/xorg-devel</A>
</PRE>
</BLOCKQUOTE>
</BODY>
</HTML>