[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] Do not use gettextize and i18n round 2 Re: I18n: The gettext proposal

From: Justin Erenkrantz <justin_at_erenkrantz.com>
Date: 2004-03-30 19:17:06 CEST

--On Tuesday, March 30, 2004 12:29 PM +0100 Max Bowsher <maxb@ukf.net> wrote:

> Most things that use gettext do so optionally.
> IIRC, "#define _(x) x", "#ifdef"-ing out all calls to libintl, and not
> linking with libintl is all that is required.

That's what most people say they do, but in practice, I've found it almost
impossible to avoid installing GNU gettext for most GNU i18n'd packages. That
said, the call in main.c for setlocale, etc needs to be protected by #ifdef
ENABLE_NLS. Yet, other than that one tweak, what I posted last night might
make us optional, but I'm still skeptical long-term that we're not going to
introduce a dependency.

I think my biggest concern for i18n adoption is that we will no longer be able
to use constant char *'s for our error strings (the big help structs). A lot
of our help code and error strings rely upon that, so I don't know how we're
going to refactor that. It's not something I want to do. -- justin

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Mar 30 19:17:17 2004

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.