Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: LANGUAGE question



>>>>> "Jim" == Jim Breen <jwb@example.com> writes:

    Jim> second. Seems as though the gettext() library is interpreting
    Jim> LANGUAGE as though the "en_*" is not there.

On Debian, at least, it (en_US) is not:

bash-2.05$ ls -d /usr/share/locale/en*
/usr/share/locale/en           /usr/share/locale/en@example.com
/usr/share/locale/en@example.com  /usr/share/locale/en_GB
bash-2.05$ fgrep -i us /usr/share/locale/locale.alias 
# This program is distributed in the hope that it will be useful,
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#       /usr/lib/X11/locale/locale.alias
# your own site which you think might be useful for others too, share
# it with the rest of us.  Send it using the `glibcbug' script to
russian         ru_RU.ISO-8859-5

You might think that

bash-2.05$ /usr/bin/locale -a | fgrep -i us
en_US
russian

means something, but really it's just that apps will not barf at
setting that locale.  However no en_US message catalog -> fallback to
:ja_JP or whatever.

Try the POSIX or C locale, which is really an alias for en_US in
practice, and the en_GB locale, which seems to have a message catalog
for

bash-2.05$ ls /usr/share/locale/en_GB/LC_MESSAGES/
glade.mo  gnome-core.mo  gnome-libs.mo  libc.mo

er, not much.  Oh well.

Maybe you should report it to bug-glibc.

-- 
University of Tsukuba                Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
Institute of Policy and Planning Sciences       Tel/fax: +81 (298) 53-5091
_________________  _________________  _________________  _________________
What are those straight lines for?  "XEmacs rules."


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links