Re: [PATCH] dist-time translation

From: Henrik Nordstrom <henrik_at_henriknordstrom.net>
Date: Mon, 21 Jul 2008 10:45:31 +0200

mån 2008-07-21 klockan 11:44 +1200 skrev Amos Jeffries:
> > Personally I think it's fine to add a po2html as an install time
> > requirement, at least in trunk. The soft fallback could be a configure
> > option to not generate translated error pages with a reference to where
> > a tarball of translated error pages can be downloaded.
>
> Okay. So how to do that cleanly and portably? I've stopped trusting /usr
> binary lookups on this one.

I meant

./configure --without-po2html

with a help description explaining that translated error pages is then
not available, but can be downloaded from http://... and installed
manually if needed.

The reason for the manual flag instead of automatic detection is to get
the admin aware of the difference...

> Nice idea. Lot of extra work though.

Maybe. The template stuff isn't that much work (done easier by
annotating the English templates slightly), but not sure how well
gettext will react on dynamic language selection.. (LC_LANGUAGE set per
request)

Regards
Henrik
Received on Mon Jul 21 2008 - 08:44:35 MDT

This archive was generated by hypermail 2.2.0 : Mon Jul 21 2008 - 12:00:07 MDT