On ו', 2005-10-21 at 21:06 +0000, Shlomi Shalem wrote: > I am using Slackware 10.2 and everything works just fine for me except > one: I can't properly set my locale for some reason. > I changed (as a root) the following files: > > /etc/profile.d/lang.csh: > > setenv LANG C > setenv LC_CTYPE he_IL.UTF-8 > setenv LC_NUMERIC C > setenv LC_TIME C > setenv LC_COLLATE C > setenv LC_MONETARY C > setenv LC_MESSAGES C > setenv LC_PAPER C > setenv LC_NAME C > setenv LC_ADDRESS C > setenv LC_TELEPHONE C > setenv LC_MEASUREMENT C > setenv LC_IDENTIFICATION C > > /etc/profile.d/lang.sh: > the following isn't sh's syntax:
> export LANG C > export LC_CTYPE he_IL.UTF-8 > export LC_NUMERIC C > export LC_TIME C > export LC_COLLATE C > export LC_MONETARY C > export LC_MESSAGES C > export LC_PAPER C > export LC_NAME C > export LC_ADDRESS C > export LC_TELEPHONE C > export LC_MEASUREMENT C > export LC_IDENTIFICATION C > the follwowing is: export LANG=C export LC_CTYPE=he_IL.UTF-8 export LC_NUMERIC=C export LC_TIME=C export LC_COLLATE=C export LC_MONETARY=C export LC_MESSAGES=C export LC_PAPER=C export LC_NAME=C export LC_ADDRESS=C export LC_TELEPHONE=C export LC_MEASUREMENT=C export LC_IDENTIFICATION=C Make sure this is effective by logging into the shell. Then when logging into X make sure the vars aren't overwritten by GDM, or whomever.. cheers. > > Yet, for some reason, these changes won't take any effect. My locale > output is: > > LANG=en_US > LC_CTYPE="en_US" > LC_NUMERIC="en_US" > LC_TIME="en_US" > LC_COLLATE=C > LC_MONETARY="en_US" > LC_MESSAGES="en_US" > LC_PAPER="en_US" > LC_NAME="en_US" > LC_ADDRESS="en_US" > LC_TELEPHONE="en_US" > LC_MEASUREMENT="en_US" > LC_IDENTIFICATION="en_US" > LC_ALL= > > I have he_IL.UTF-8 in the list when I do 'locale -a'. Though, when I run > the script lang.sh, it shows me the next message: > > -bash: export: `he_IL.UTF-8': not a valid identifier > > No problems occured while running lang.csh > > Thanks for helping. > > ================================================================= > To unsubscribe, send mail to [EMAIL PROTECTED] with > the word "unsubscribe" in the message body, e.g., run the command > echo unsubscribe | mail [EMAIL PROTECTED] -- Maxim Kovgan DSL,Technion phone#: 3864 ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
