[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: quoting in gnulib
From: |
Paul Eggert |
Subject: |
Re: quoting in gnulib |
Date: |
Tue, 12 Jul 2005 01:37:27 -0700 |
User-agent: |
Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) |
address@hidden (Karl Berry) writes:
> Is it true that if some environment variable (LANG?) is set to
> something (e.g., fr_FR?) that a "translation" of ` and ' will be
> used?
Yes.
> Looking at quotearg.h, it seems so. Do any translations in
> fact do this?
Yes. For example, coreutils/po/de.po contains this:
#: lib/quotearg.c:240
msgid "`"
msgstr "„"
#: lib/quotearg.c:241
msgid "'"
msgstr "“"
(pardon the non-ASCII chars), which I trust are the proper quote marks
for German.
However, I just checked the translations for coreutils and got the
following depressing statistics.
Coreutils has 36 translations.
Of them, 21 do not translate ` and ', which indicates that either the
translators don't understand the convention or they can't think of
anything better than ` and ' in their encodings either.
6 transliterate ` and ' both to the same string, which seems
even worse:
4 translate both to "
bg fi gl sv
da translates both to '
ms translates both to `
2 translate both to the empty string. Ouch!:
no pt
The following 7 translations use nice-looking quotes for their
languages:
ca de es nb sl zh_CH zh_TW
7 out of 34 is not a very good batting average. Perhaps if we start
recommending the quote module, things will improve; but I guess we
shouldn't pretend everything will look nice right away.
- quoting in gnulib, Karl Berry, 2005/07/10
- Re: quoting in gnulib,
Paul Eggert <=
- Re: [bug-gnulib] Re: quoting in gnulib, Bruno Haible, 2005/07/14
- Re: [bug-gnulib] Re: quoting in gnulib, Paul Eggert, 2005/07/14
- Re: [bug-gnulib] Re: quoting in gnulib, Bruno Haible, 2005/07/15
- Re: [bug-gnulib] Re: quoting in gnulib, Paul Eggert, 2005/07/15
- Re: [bug-gnulib] Re: quoting in gnulib, Bob Proulx, 2005/07/17
- Re: [bug-gnulib] Re: quoting in gnulib, Paul Eggert, 2005/07/18