Locale creation (general locale issue?)

From: Kelly Setzer (setzer-sunmanagers@LiquidChicken.org)
Date: Wed Mar 31 2004 - 11:21:54 EST


In the process of creating a new locale I found that I seem to have a
general issue with locales. I cannot find the source of the problem and
the sun documentation has provided very little guidance. I have
installed the Spanish locale packages from the Solaris 8 languages CD.

SunOS athena 5.8 Generic_108528-15 sun4u sparc SUNW,Sun-Fire-880

$ perl
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LC_ALL = (unset),
LANG = "es_MX"
are supported and installed on your system.
perl: warning: Falling back to the standard locale
("C").
$ locale
LANG=es_MX
LC_CTYPE="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_ALL=
$ LC_ALL=es_MX
couldn't set locale correctly
$ export LC_ALL
$ locale
LANG=es_MX
LC_CTYPE="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_ALL=es_MX
$ perl
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LC_ALL = "es_MX",
        LANG = "es_MX"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").

=== And, when I login with LANG and LC_ALL set in my .profile ===
user@athena's password:
no ha sido posible establecer el entorno nacional correctamente
[ed: Can't find the national locale]
no ha sido posible establecer el entorno nacional correctamente
[ed: Can't find the national locale]

===
athena:~$ ls /usr/lib/locale/es_MX/*
/usr/lib/locale/es_MX/LC_MESSAGES:
SUNW_OST_ADMIN.mo SUNW_OST_NETRPC.mo SUNW_OST_OSLIB.mo uxlibc
SUNW_OST_LINFO SUNW_OST_OSCMD.mo SUNW_OST_UCBCMD.mo

/usr/lib/locale/es_MX/LC_TIME:
SUNW_OST_OSCMD.mo

thanks,
Kelly
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:28:23 EDT