Wednesday, 30 September 2009

Changing firefox's default language from US to GB in Ubuntu

Recently made the move towards using Linux as my main desktop environment. Tried Fedora 11 but found it too unstable, open gl screensavers had a tendency to crash the system and whereas I had grown accustomed to such standards from M$ Windows I wasn't really going to tolerate, switched to Ubuntu 9.04 64-bit and so far everything has been fine.

Anyway before this turns into a post about Linux pros and conns one of the things that was bugging me that when I went to some websites they picked up my language as English (US/American), a little thing but annoying.

Installed UK dictionary from add-ons but that didn't work, solution is in the http.accept_language param sent by the browser.

To change just enter about:config into your address bar in firefox.
Enter "Lang" into the filter and change "intl.accept_languages" to read "en-gb, en"

Websites the pick up this language param will now know that UK english is your default language.