Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
01-14-2009, 02:59 PM
|
#1
|
Member
Registered: Jan 2009
Posts: 51
Rep:
|
Spell checking language?
I'm using Ubuntu and my system spell check thinks I'm in the UK. At login my language is English (American) but still color is wrong and colour is right in all of my apps. I can over ride this app by app but I'm hoping I can make the change system wide.
I can't really even think of any way to check and see if the system language change at login stuck or not...
|
|
|
01-14-2009, 04:51 PM
|
#2
|
Senior Member
Registered: Aug 2007
Location: South Carolina, U.S.A.
Distribution: Ubuntu, Fedora Core, Red Hat, SUSE, Gentoo, DSL, coLinux, uClinux
Posts: 1,302
Rep: 
|
Quote:
Originally Posted by fhsm
I can over ride this app by app but I'm hoping I can make the change system wide.
|
What happens when you run
Code:
[machine:~]:cat /etc/default/locale
LANG="en_US.UTF-8"
and
Code:
[machine:~]:locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
|
|
|
01-14-2009, 05:28 PM
|
#3
|
LQ Guru
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019
Rep: 
|
To check your locale, open up a terminal and enter
locale
You should also check /var/lib/locales/supported.d
System-wide locale is set in /etc/default/locale
|
|
|
01-15-2009, 06:04 AM
|
#4
|
Member
Registered: Jan 2009
Posts: 51
Original Poster
Rep:
|
@David1357 without modification I also get
Code:
[machine:~]:locale
LANG=en_US
LC_CTYPE="en_US"
LC_NUMERIC="en_US"
LC_TIME="en_US"
LC_COLLATE="en_US"
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=
@Jay73 without modification /var/lib/locales/supported.d has en and local in it.
Contents of en:
Code:
en_HK.UTF-8 UTF-8
en_DK.UTF-8 UTF-8
en_IN UTF-8
en_ZW.UTF-8 UTF-8
en_NZ.UTF-8 UTF-8
en_PH.UTF-8 UTF-8
en_NG UTF-8
en_US.UTF-8 UTF-8
en_GB.UTF-8 UTF-8
en_AU.UTF-8 UTF-8
en_SG.UTF-8 UTF-8
en_BW.UTF-8 UTF-8
en_ZA.UTF-8 UTF-8
en_CA.UTF-8 UTF-8
en_IE.UTF-8 UTF-8
Contents of local:
Code:
en_GB.UTF-8 UTF-8
en_US.UTF-8 UTF-8
en_US ISO-8859-1
What is the difference between these to local files? Is /var/lib/locales/supported.d/local parsed top to bottom at some point?
Thanks for the help
|
|
|
01-15-2009, 08:08 AM
|
#5
|
Senior Member
Registered: Aug 2007
Location: South Carolina, U.S.A.
Distribution: Ubuntu, Fedora Core, Red Hat, SUSE, Gentoo, DSL, coLinux, uClinux
Posts: 1,302
Rep: 
|
Quote:
Originally Posted by fhsm
Contents of local:
Code:
en_GB.UTF-8 UTF-8
en_US.UTF-8 UTF-8
en_US ISO-8859-1
What is the difference between these two local files? Is /var/lib/locales/supported.d/local parsed top to bottom at some point?
|
I have
Code:
[machine:~]:cat /var/lib/locales/supported.d/local
en_US.UTF-8 UTF-8
I guess you should delete the first line from your "local" file.
|
|
|
01-15-2009, 11:59 PM
|
#6
|
LQ Guru
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019
Rep: 
|
Yes, you'll need to edit the locales file. Then you may need to run sudo dpkg-reconfigure locales (and reboot).
|
|
|
01-17-2009, 05:31 PM
|
#7
|
Member
Registered: Jan 2009
Posts: 51
Original Poster
Rep:
|
Did the edit (just moved en_GB to the bottom of the list) and ran sudo dpkg-reconfigure locales + reboot. Didn't seem to make any changes. Should I take en_GB off the list all together?
|
|
|
01-17-2009, 07:10 PM
|
#8
|
LQ Guru
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019
Rep: 
|
Have you tried System > Admin > Language Support?
|
|
|
01-18-2009, 04:36 PM
|
#9
|
Member
Registered: Jan 2009
Posts: 51
Original Poster
Rep:
|
Quote:
Originally Posted by jay73
Have you tried System > Admin > Language Support?
|
I'm not using gnome, but I did try the equivalent with no luck. All my newly installed apps seem to have it right but previous installs aren't fixing themselves. It feels like I need to just tell everything on the system to re-check itself against for localization to fix the problem. Can I do so some how?
|
|
|
All times are GMT -5. The time now is 08:09 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|