On Sat, 26 Jun 2010 13:40:01 +0200, Mick wrote about Re: [gentoo-user] Questions regarding the usage of multiple locales:
[snip] >Hmm... I've added all this in my /etc/env.d/02locale: > >LANG="en_GB.UTF-8" >LC_CTYPE="en_GB.UTF-8" >LC_NUMERIC="en_GB.UTF-8" >LC_TIME="en_GB.UTF-8" >LC_COLLATE="C" >LC_MONETARY="en_GB.UTF-8" >LC_MESSAGES="en_GB.UTF-8" >LC_PAPER="en_GB.UTF-8" >LC_NAME="en_GB.UTF-8" >LC_ADDRESS="en_GB.UTF-8" >LC_TELEPHONE="en_GB.UTF-8" >LC_MEASUREMENT="en_GB.UTF-8" >LC_IDENTIFICATION="en_GB.UTF-8" Did you run env-update afterwards? I ditched all those /etc/env.d settings for locale, and put mine in /etc/profile.d/local.sh as follows: <---------><---------><---------><---------><---------><---------> # Temporary files go to the RAMDisk. export TMPDIR='/tmp' # Define our local squid proxy. export http_proxy='http://localhost:8080' export ftp_proxy='http://localhost:8080' export RSYNC_PROXY='localhost:8080' # The OpenSSL random seed lives here: export RANDFILE='/.rnd' # Set the zsh FTP commands to use passive mode export ZFTP_PREFS='P' # If the user has a private bin directory, prepend it to the PATH. if [ -d "$HOME/bin" ]; then export PATH="$HOME/bin:$PATH" fi # Set a sensible locale, if possible. if [ -d '/usr/share/locale/en_GB' ]; then export LC_ALL='en_GB.utf8' export LANG='en_GB.utf8' export LANGUAGE='en_GB.utf8' else export LC_ALL='C' unset LANG LANGUAGE fi <---------><---------><---------><---------><---------><---------> This gives me a single point of maintenance for several system customizations. Also, it allows me to use conditional logic to set sensible values. -- Regards, Dave [RLU #314465] ====================================================================== dwn...@ntlworld.com (David W Noon) ======================================================================
signature.asc
Description: PGP signature