LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-23-2004, 02:33 AM   #1
Choey
Member
 
Registered: Sep 2003
Location: WA, USA
Distribution: MDK 10.0 Official
Posts: 53

Rep: Reputation: 15
I want my apps to be in english...


i've been trying to be able to type korean with ami (in which i was successful), but in the duration of my endevaor i've somehow caused some applications to display korean menus, etc. i'm using kde 3.2.

i remember doing something for $LANG and echo $LANG shows
ko_KR.UTF-8
and i know i changed it somehow. is that why some of my apps have korean menus and stuff?
if so, how can i change it back to english?

thanks.
 
Old 06-23-2004, 12:18 PM   #2
Choey
Member
 
Registered: Sep 2003
Location: WA, USA
Distribution: MDK 10.0 Official
Posts: 53

Original Poster
Rep: Reputation: 15
bump...
 
Old 06-23-2004, 12:24 PM   #3
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
try changing the "Country, Region & Language" settings in kde control center
 
Old 06-23-2004, 12:34 PM   #4
Choey
Member
 
Registered: Sep 2003
Location: WA, USA
Distribution: MDK 10.0 Official
Posts: 53

Original Poster
Rep: Reputation: 15
i checked it but there was only english language there.
 
Old 06-23-2004, 12:40 PM   #5
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
try setting locale environment variables(including $LANG) to English (en_US), leaving only LC_CTYPE on ko_KR.UTF-8
put them in ~/.bash_profile or ~/.profile, depends on how you start X and how your distro is set up.

Last edited by Demonbane; 06-23-2004 at 12:43 PM.
 
Old 06-23-2004, 12:53 PM   #6
Choey
Member
 
Registered: Sep 2003
Location: WA, USA
Distribution: MDK 10.0 Official
Posts: 53

Original Poster
Rep: Reputation: 15
yeah that's what i was thinking but i forgot how i set the $LANG to be in korean...
and i don't have any of the profile files.
even my vi is in korean. i can read korean fine but i'm just not used to seeing it in applications and stuff.

i think i did something like export $LANG something...
is it export $LANG=en_US?

EDIT:

i guess not.
bash-2.05b$ export $LANG=en_US
bash: export: `ko_KR.UTF-8=en_US': not a valid identifier
 
Old 06-23-2004, 12:58 PM   #7
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
export LANG=en_US
 
Old 06-23-2004, 01:07 PM   #8
Choey
Member
 
Registered: Sep 2003
Location: WA, USA
Distribution: MDK 10.0 Official
Posts: 53

Original Poster
Rep: Reputation: 15
thanks. but i still have the problem.
i'm pretty sure it's the $LANG varialbe because if i su to root, the variable echos en_US.UTF-8 and vi is in english.
i tried export LANG=en_US.UTF-8 as nonroot and it echos en_US.UTF-8, but if i kill x, it'll turn back to ko_KR.UTF-8.
what's wrong?
 
Old 06-23-2004, 01:10 PM   #9
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
where did you set it?
 
Old 06-23-2004, 01:15 PM   #10
Choey
Member
 
Registered: Sep 2003
Location: WA, USA
Distribution: MDK 10.0 Official
Posts: 53

Original Poster
Rep: Reputation: 15
what do you mean where?
as a nonroot user i just typed export LANG=en_US.UTF-8 in konsole
temporarily the variable is changed but when i kill x it's reset.
 
Old 06-23-2004, 01:20 PM   #11
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
try putting it in ~/.bash_profile
logoff and log back in
 
Old 06-23-2004, 01:34 PM   #12
Choey
Member
 
Registered: Sep 2003
Location: WA, USA
Distribution: MDK 10.0 Official
Posts: 53

Original Poster
Rep: Reputation: 15
there was no such file in my home directory but i made the file and inserted [export LANG=en_US.UTF-8] without brackets.
that didn't work so i searched for another .bash_profile which was located in /etc/skel. i edited it and this is the file:
Code:
# .bash_profile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
        . ~/.bashrc
fi

# User specific environment and startup programs

PATH=$PATH:$HOME/bin
LANG=en_US.UTF-8
export PATH
export LANG
unset USERNAMEN
i just ladded LANG=... and export LANG. it still didn't work. after i kill x the variable stays the same but after i start x, it turns back to normal.

now i kinda remember editing a file that had just a list of items, and i added about 4 or 5 items at the end of it. some site in chinese told me to do it. forgot which...

EDIT:

i found it now. the file i edited before was /etc/sysconfig/i18n, which reads
Code:
LC_TELEPHONE=en_US.UTF-8
LC_CTYPE=en_US.UTF-8
LANGUAGE=en_US.UTF-8:en_US:en
LC_MONETARY=en_US.UTF-8
LC_ADDRESS=en_US.UTF-8
LC_COLLATE=en_US.UTF-8
LC_PAPER=en_US.UTF-8
LC_NAME=en_US.UTF-8
LC_NUMERIC=en_US.UTF-8
SYSFONT=lat0-16
LC_MEASUREMENT=en_US.UTF-8
LC_TIME=en_US.UTF-8
LANG=en_US.UTF-8
LC_IDENTIFICATION=en_US.UTF-8
LC_MESSAGES=en_US.UTF-8
LC_ALL=ko
ENC=kr
XIM=Ami
XMODIFIERS="@im=Ami
i think that's for ami though...

Last edited by Choey; 06-23-2004 at 01:40 PM.
 
Old 06-23-2004, 01:40 PM   #13
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
try comment out LC_ALL=ko, and change just LC_CTYPE to ko_KR

Last edited by Demonbane; 06-23-2004 at 01:42 PM.
 
Old 06-23-2004, 02:08 PM   #14
Choey
Member
 
Registered: Sep 2003
Location: WA, USA
Distribution: MDK 10.0 Official
Posts: 53

Original Poster
Rep: Reputation: 15
it's still not working... any other ideas?
 
Old 06-23-2004, 02:21 PM   #15
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
how do you launch your X session? startx or DM?
so the X apps are ok now, the problem is that whenever you drop back to the console after ending an X session the variables gets set back to ko_KR?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there English-to-English dictionary in linux? uishen Linux - General 27 06-03-2009 11:36 PM
Way to use a good free English to English Dictionary linbose Linux - Software 6 06-03-2009 11:25 PM
i am looking for a english to english dictionary for RedHat8.0 rddreamz Linux - Software 1 07-10-2004 11:58 AM
Can I have english menu with chinese/english/spanish input? codec Linux - General 9 10-04-2003 08:18 PM
english-english dictionary for linux zozia Linux - Software 4 09-21-2003 03:32 PM


All times are GMT -5. The time now is 02:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration