Locale creation (general locale issue?)

From: Kelly Setzer (setzer-sunmanagers_at_LiquidChicken.org)
Date: 03/31/04

  • Next message: Eric Voisard: "SUMMARY: post-boot frame buffer init."
    Date: Wed, 31 Mar 2004 10:21:54 -0600
    To: sunmanagers@sunmanagers.org
    
    

    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


  • Next message: Eric Voisard: "SUMMARY: post-boot frame buffer init."

    Relevant Pages

    • Language problem with knoppix
      ... package it gives the error message On Language Like: ... perl: warning: Setting locale failed. ...
      (Debian-User)
    • Re: HEADS UP: LC_CTYPE format changed
      ... perl: warning: Setting locale failed. ... perl: warning: Falling back to the standard locale. ...
      (freebsd-current)
    • Re: xorg 7.2 & environment variables set in login.conf
      ... can't utilize the LANG setting either. ... perl: warning: Setting locale failed. ...
      (freebsd-current)
    • Glibc i386 vs i686 screwup
      ... Starting httpd: perl: warning: Setting locale failed. ... perl: warning: Please check that your locale settings: ...
      (RedHat)
    • Re: UTF8: cgi ist staerker als ich
      ... use locale ist sogar äusserst gefährlich und unberechenbar. ... Also vergiss Locales und verwende den Unicode-Support von Perl. ... ist dass Du nicht 256 verschiedene Zeichen ... Beim encode kodierst Du Zeichen entsprechend einem bestimmten Encoding ...
      (de.comp.lang.perl.cgi)