[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: error i18n
From: |
John Darrington |
Subject: |
Re: error i18n |
Date: |
Sun, 4 Jun 2006 11:06:38 +0800 |
User-agent: |
Mutt/1.5.4i |
On Sat, Jun 03, 2006 at 11:36:37AM -0700, Ben Pfaff wrote:
I think it's simply impractical to be in more than one locale at
a time for messages. For one thing, calls to the _() and
gettext() functions would have to be postponed until well after
the point they're called now, so that we could call them once for
each locale we're in. So I'd think that SET OLANG would change
the language for all messages, regardless of where they're going.
I don't think it's impractical. Like you say, it'll mean changing
instances of msg(_("xxx")); to msg(N_("xxx"); and putting the
responsibility of calling gettext to the message delivery. It's a
little slower and a little more complex, but I think it may be
worthwhile.
In general, SET OLANG isn't supposed to change the language of
messages. It changes the language of the output. So if I'm preparing
a report for a Japanese journal, I can SET OLANG=Japanese, but I'll
still get error messages in my own language.
J'
--
PGP Public key ID: 1024D/2DE827B3
fingerprint = 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3
See http://pgp.mit.edu or any PGP keyserver for public key.
pgpavqTHkgVkY.pgp
Description: PGP signature
- Re: casefile random access, (continued)
- Re: casefile random access, John Darrington, 2006/06/12
- Flexifiles, John Darrington, 2006/06/24
- Re: Flexifiles, Ben Pfaff, 2006/06/24
- Re: Flexifiles, John Darrington, 2006/06/25
- Re: Flexifiles, John Darrington, 2006/06/28
- Re: Flexifiles, Ben Pfaff, 2006/06/29
- error i18n (was: Re: PSPP conference call notes.), Ben Pfaff, 2006/06/03
- Re: error i18n,
John Darrington <=
- Re: error i18n, Ben Pfaff, 2006/06/10
- Re: error i18n, John Darrington, 2006/06/11
Re: PSPP conference call notes., Jason Stover, 2006/06/01
Re: PSPP conference call notes., Jason Stover, 2006/06/04