On Mon, Jul 25, 2005 at 08:21:14PM +0200, Jean Delvare wrote:
> Hi Martin,
> 
> [Jean Delvare]
> > > Is it technically possible to only use Locale/gettext.pm if it
> > > exists, and disable internationalization if it doesn't rather than
> > > plain die? If it is possible, then I'd suggest that we do just that.
> 
> [Martin Quinson]
> > Here is a code chunk which should do it. It comes from the po4a
> > project which is deeply unrelated with quilt, beside the fact that I
> > contribute to both.
> > 
> > I'm currently somehow in vacations and would prefer if someone else
> > could integrate this into quilt properly.
> 
> Thanks for the tip. However, Andreas and I have come up with an
> alternative solution to this problem, which I think is better because it
> only checks for the module at start time. Your approach adds the test on
> every call to every internationalisation function, which promises to be
> much slower.

Ok, that's the bad side of being in vacation and having access to the net
only every other day...

Btw, I'm glad you came with a better solution: I'll steal it for po4a ;)

Bye, Mt.

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Quilt-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/quilt-dev

Reply via email to