On Thu, Nov 08, 2001 at 04:32:54PM +0100, Bruno Haible wrote:
> In gettext, I've used the PO file name [EMAIL PROTECTED] for this purpose.
> Someone who sets LANGUAGE=en@quot will get the smart quotes,
> someone who sets LANGUAGE=en will not get them.

I should point out that this isn't a good long-term solution, for
obvious reasons.  Some mechanism to tell gettext to translate these
characters back would be useful; perhaps an environment variable like
"BASICQUOTES=yes" or something along those lines.  (There's the
advantage of putting Unicode quotes in en.po: you can trivially fold
Unicode quotes back to ASCII quotes, but not vice-versa.)  This is
still useful as a short-term solution, of course.

Another problem: sometimes you'll explicitely want quotes to be untranslated,
such as in command examples containing quotes that people may cut and paste.
One thing that comes to mind is simply escaping (\042, \047); this isn't
very nice to edit, though.

-- 
Glenn Maynard
--
Linux-UTF8:   i18n of Linux on all levels
Archive:      http://mail.nl.linux.org/linux-utf8/

Reply via email to