Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I want to temporarily use Firefox in another languages so that menus and everything else in another language. How can I do that?

I have tried

firefox -no-remote -UILocale en-GB

but that still loads Firefox with my default locale (I have en-GB locale for Firefox installed).

I also found https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/565209 but I dunno if it's due to that.

share|improve this question
add comment

2 Answers 2

up vote 4 down vote accepted

Goto menu item Adds-On, then Languages and disable the non wanted language.
You need to restart firefox, then.

Another solution: from command line:

LC_ALL=en_GB firefox -no-remote

in this way you change the environment of firefox, making it believe it is in en_GB locale, only for the given execution.

Obviously both the locale than the firefox support package for that locale should be installed, for this to work.

For example, to see firefox in french, the prerequisites are:

sudo locale-gen fr_FR fr_FR.UTF-8 && echo "Success"
sudo apt-get install firefox-locale-fr
LC_ALL=fr_FR firefox -no-remote
share|improve this answer
    
That seems like a hassle if I just want to change language temporarily. –  N.N. Sep 30 '11 at 12:43
    
The command line solution does not change locale permanently but only for that particular execution? –  N.N. Sep 30 '11 at 12:46
    
@N.N.: yes, only for that execution, in my tests –  enzotib Sep 30 '11 at 12:47
    
Cool, if that is so it might make sense to add that to your answer to explain the meaning of the command line solution. –  N.N. Sep 30 '11 at 12:48
    
@N.N.: Just one remark, this solution is firefox-independent. All locale-aware software can be executed this way. –  Michał Šrajer Sep 30 '11 at 13:10
show 5 more comments

You need to install language as enzotib (+1) pointed it out first. Then you can switch between available locales.

To switching it easier, you can install addon like quick-locale-switcher.

You cannot switch to locale you don't have installed before. Firefox does not have all translated messages bundled in default installation. This will be unneeded waste of resources on many levels.

share|improve this answer
    
I have the locale I tried to switch to. I tried the addon you suggested but when I switch to a locale I have installed the language of the menus in Firefox stays the same (even after restart). –  N.N. Sep 30 '11 at 12:54
    
Thanks to point out the need to have the locale installed. –  enzotib Sep 30 '11 at 12:54
    
@N.N.: does your locale switching affect output seen on aruljohn.com/lang.php ? –  Michał Šrajer Sep 30 '11 at 13:06
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.