LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 01-14-2009, 02:59 PM   #1
fhsm
Member
 
Registered: Jan 2009
Posts: 51

Rep: Reputation: 17
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...
 
Old 01-14-2009, 04:51 PM   #2
David1357
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
Blog Entries: 1

Rep: Reputation: 107Reputation: 107
Quote:
Originally Posted by fhsm View Post
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=
 
Old 01-14-2009, 05:28 PM   #3
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 131Reputation: 131
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
 
Old 01-15-2009, 06:04 AM   #4
fhsm
Member
 
Registered: Jan 2009
Posts: 51

Original Poster
Rep: Reputation: 17
@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
 
Old 01-15-2009, 08:08 AM   #5
David1357
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
Blog Entries: 1

Rep: Reputation: 107Reputation: 107
Quote:
Originally Posted by fhsm View Post
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.
 
Old 01-15-2009, 11:59 PM   #6
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 131Reputation: 131
Yes, you'll need to edit the locales file. Then you may need to run sudo dpkg-reconfigure locales (and reboot).
 
Old 01-17-2009, 05:31 PM   #7
fhsm
Member
 
Registered: Jan 2009
Posts: 51

Original Poster
Rep: Reputation: 17
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?
 
Old 01-17-2009, 07:10 PM   #8
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 131Reputation: 131
Have you tried System > Admin > Language Support?
 
Old 01-18-2009, 04:36 PM   #9
fhsm
Member
 
Registered: Jan 2009
Posts: 51

Original Poster
Rep: Reputation: 17
Quote:
Originally Posted by jay73 View Post
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?
 
  


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
No spell checking in KDE Iskendar Linux - Software 5 03-02-2007 09:54 AM
Multi-language spell checking for OpenOffice on Gentoo bernhard_k Linux - Software 3 07-29-2005 08:11 AM
Spell Checking CouchMaster Ubuntu 5 03-31-2005 02:10 PM
Openwebmail and spell checking... wolftechmn Linux - Networking 5 12-16-2003 01:00 PM
spell checking mindcry Linux - Software 5 10-09-2003 06:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:22 AM.

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
Open Source Consulting | Domain Registration