Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Change default language on Firefox [closed]

I've been looking forever for a way to change the default language on Firefox (Ubuntu 12.04). Nothing I did worked, until I just figured it out now. (see my own answer below)

Does anybody know a better way to do it?

like image 599
vitiral Avatar asked Feb 04 '14 03:02

vitiral


People also ask

How do I stop Firefox from changing Languages?

Start Firefox in Safe Mode to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance). Do not click the Reset button on the Safe mode start window or otherwise make changes.

Why is my Firefox not in English?

Select Tools > Options. On the Content tab, under the Languages section click Choose. From the Select a language to add menu, select a language. Click Add.

What is the shortcut to change language in Firefox?

The tool also supports a shortcut: it quickly switches back to the previously selected locale if you press CTRL + SHIFT + Q. All in all, the tool looks very useful but it just seemed too much to me, so I went with the one I mentioned first.


2 Answers

I was able to set the default spellchecker by going to about:config and setting spellchecker.dictionary.

like image 53
Superbest Avatar answered Sep 18 '22 20:09

Superbest


  1. Go to your language folder of firefox. For me it is usr/lib/firefox/dictionaries.
  2. Note if it is a shortcut, for me it shortcutted to ../../share/hunspell (/usr/share/hunspell)
  3. Backup the folder somewhere (copy paste it)
  4. Go to that folder and DELETE everything other than the language you want. (for me I kept only en_US*)

This obviously only works if you don't want the other languages. After months of trying to solve this bug, I couldn't come up with any other way. Hopefully Mozilla fixes this bug soon...

Here's the command lines

user@user-1015E:/usr/share/hunspell$ sudo rm en_A*
user@user-1015E:/usr/share/hunspell$ sudo rm en_C*
user@user-1015E:/usr/share/hunspell$ sudo rm en_Z*
user@user-1015E:/usr/share/hunspell$ sudo rm en_G*
like image 22
vitiral Avatar answered Sep 21 '22 20:09

vitiral