LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Spell checking language? (https://www.linuxquestions.org/questions/linux-software-2/spell-checking-language-697321/)

fhsm 01-14-2009 02:59 PM

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...

David1357 01-14-2009 04:51 PM

Quote:

Originally Posted by fhsm (Post 3408721)
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=


jay73 01-14-2009 05:28 PM

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

fhsm 01-15-2009 06:04 AM

@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

David1357 01-15-2009 08:08 AM

Quote:

Originally Posted by fhsm (Post 3409553)
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.

jay73 01-15-2009 11:59 PM

Yes, you'll need to edit the locales file. Then you may need to run sudo dpkg-reconfigure locales (and reboot).

fhsm 01-17-2009 05:31 PM

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?

jay73 01-17-2009 07:10 PM

Have you tried System > Admin > Language Support?

fhsm 01-18-2009 04:36 PM

Quote:

Originally Posted by jay73 (Post 3412411)
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 05:49 PM.