LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   quick question (LC_ALL locale) (https://www.linuxquestions.org/questions/slackware-14/quick-question-lc_all-locale-387335/)

spamhippy 11-28-2005 02:33 PM

quick question (LC_ALL locale)
 
hiya....
upgraded my box to slack current awhile back... everything seems to be working alright though i keep getting errors that say something about 'default langauge' fall back to local C using en_us something something (lol) tried searching on yahoo about it and came up with someone talking about somebody not setting the langauge and stuff for something and if you speak english... just nevermind it. and while i get these complaints... everything has run... so i ingored it... untill now... tried installing svn and i get an error when running it (here it is...)

svn: error: cannot set LC_ALL locale
svn: error: environment variable LANG is en_US
svn: error: please check that your locale name is correct
bash-2.05b$ LC_ALL
bash: LC_ALL: command not found

i searched around here for an answer... but frabkly everything i read about was kinda over my head. (lol) i imagine i gotta edit some text file somewhere and remove a couple of # signs. any idea where this is coming from? what do i need to do to reset the langauge on this?

thanks for your time ;)

AdaHacker 11-28-2005 04:11 PM

Apparently your LANG environment variable is set to the wrong value. Basically, this variable tells the system what your language and location preference is. Apparently en_US isn't valid on your system. You can probably find where it is being set under /etc, perhaps some file in /etc/profile.d.

spamhippy 11-28-2005 04:23 PM

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
perl: warning: Falling back to the standard locale ("C").

..it's stuff like this i'm getting.... (this is copied from another post.. this isn't actually mine...)
i did 'locale' and got....

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=


how do i set LC_ALL ? is this right? ...haven't found the answer ...yet. lol

spamhippy 11-28-2005 04:25 PM

um... i speak english and from the u.s.

...lol. hmmm... trying to find LC_ALL .....

spamhippy 11-28-2005 04:37 PM

in etc/profile.d i find 2 files that seems to be about lang.... one is called...

lang.csh

in it the following is turned on...

setenv LANG en_US


and the other file is called.......

lang.sh

and it has.........

export LANG=en_US

export LC_COLLATE=C

..turned on....

there are other options in there that are for US english... but they are not recommended. should i turn them on? i guess i'm not really seeing what the problem is here. everything looks OK (as far as i can tell...)

thanks agian...

spamhippy 11-29-2005 02:06 AM

and after hours of looking the amazing answer to this question is!!!!!

export LC_ALL=C

...lol. geez.. it's always some simple thing... isn't it?

keefaz 11-29-2005 04:49 AM

You could use LC_ALL=en_US, it is valid

but you have to install glibc-i18n package and perhaps glibc-zoneinfo too


All times are GMT -5. The time now is 06:24 PM.