How can you change the language in firefox?

I try to change the menu language from english to german in firefox. But i haven’t figured out how to do that. Or is it even possible?
There was via ftp a xpi file for the language but it did not change anything.
Does someone know who to do that? I even checked in Yast but there it says only firefox (that webpin).

Thanks for the help :slight_smile:

That .xpi is a wordbook-addon I suppose.

Look for the package ‘MozillaFirefox-translations-common’, it also contains german.

The other solution: Go to firefox homepage then download version for Germany.
As my country, I need only download version for VietNam and firefox’s language is Vietnamese :slight_smile:

I really thought you can switch it. Like an add on.
The translation-common is installed, but doesn’t seem to have any effect. I don’t even see a button to switch. I might install the german version. Oh wait, does it this make the default browser for all users? I like to have the german version, but my wife likes the english. omg.

If I remember correctly, you can set your language using the LANG environment variable; add "export LANG=de_DE.UTF-8 " to the .profile file in your home dir.
With any luck you can just un-comment this line…

The other solution: Go to firefox homepage then download version for Germany.

…and install it “locally”? That seems suboptimal to me, plus it won’t change a thing, since the UI-language of most apps (including FF) will be set by the users language setting (as described by Mithrandir0).

And no, there is no switch for that (in FF). yester64, I suppose your general setting is english, correct?

Sorry for doubleposting…

I understand the goal is to set the UI-language for FF individually.

I just found a promising option in ‘man firefox’ (-UILocale $lang-$region’), but can not get it to work for some reason. Then I googled some more and found a →locale switcher addon which also has a (non-default!) option to switch the UI-language. Works for me, so give it a shot. With some luck you may remove this addon after switching to german.

Firefox on openSUSE is supposed to display the language you are using in $LANG (echo $LANG). And as proposed somewhere above changing that in your profile should switch your Firefox UI language. Firefox doesn’t have any UI to switch it by default. Firefox builds as distributed by mozilla.{org,com} are built for one language only. If the LANG approach doesn’t work for you it might be some issue on your system as it usually works everywhere else (AFAIK).

wrosenauer, I think the point was that yester64 wants to preserve his (english) $lang-settings and yet have a german Firefox interface.

LANG could still be used. Just create a tiny wrapper script in $HOME/bin called firefox with that content:

LANG=de_DE /usr/bin/firefox

Hello i am back :slight_smile:
Ok, here is the outline.
The system should be in english as default. For my desktop i choose german and all KDE apps are in german.
The only app that don’t are mozilla apps. I installed the ‘de’ language package as an addon but it did not change anything and i did not find any switch to activate it either.
I will look into the solution presented here. With the power of believe it might work lol!

I always thought just by switching the language over in the system settings for the desktop it would made it available for all apps. Apparently not :frowning:

This worked lol!
Thanks for that addon (and the link). I didn’t dig so deep in the manual, so thanks for that as well.
I will rate you high :slight_smile:

On 2010-10-11 22:06, yester64 wrote:
>
> Hello i am back :slight_smile:
> Ok, here is the outline.
> The system should be in english as default. For my desktop i choose
> german and all KDE apps are in german.

Then you should create ~/.i18n and put there your LANG=…, so that non KDE apps pick it up.
However, at least in 11.0, 11.1 and 11.2 there is a bug impeding this from fully working, see
Bugzilla 567324

> The only app that don’t are mozilla apps. I installed the ‘de’ language
> package as an addon but it did not change anything and i did not find
> any switch to activate it either.
> I will look into the solution presented here. With the power of believe
> it might work lol!
>
> I always thought just by switching the language over in the system
> settings for the desktop it would made it available for all apps.
> Apparently not :frowning:

Firefox is not a KDE app, so no, it is not affected.


Cheers / Saludos,

Carlos E. R.
(from 11.2 x86_64 “Emerald” at Telcontar)

Just to let you know. The trick doesn’t work with thunderbird for some reason.

@carlos thanks, i will add this file and test it.

There is even a more elegant way to modify this.
One needs to go to

[Thunderbird]
Edit>Preferences>Advance>General

There you start the editor and look up ‘general.useragent.locale’.
You need to change it to the language you like to use.

[Firefox] type in the location bar about:config

Also, it should be noted that you need the language pack you intent to use. This can be downloaded over ftp on mozilla. I recommend to just download the pack and install it manually, since it will not install on Thunderbird. It always tries to install Thunderbird addons in Firebird (+_+).
ftp Thunderbird
ftp Firefox
If you need more than one language you can definitely use the addon, which i like btw.

I needed to install a different version of Thunderbird to get it to work.
Check here

I like to thank again for all the tips i got. This finally worked for me and i hope it does for you as well.

Peace

p.s. this is from where i got it

On 2010-10-12 02:36, yester64 wrote:
>
> Just to let you know. The trick doesn’t work with thunderbird for some
> reason.
>
> @carlos thanks, i will add this file and test it.

There is something funny with firefox, it does not obey the language change.

cer@Telcontar:~> LANG=de_DE whatis 1 man
1: nichts passendes.
man (1) - Programm zum Einsehen der Online-Manuale

cer@Telcontar:~> LANG=es_ES.UTF-8 whatis man
man (1) - una interfaz de los manuales de referencia electrónicos

But “LANG=es_ES.UTF-8 firefox” still yields the English interface. Ah, of course not, I don’t have
the language pack installed. make sure you do before testing.


Cheers / Saludos,

Carlos E. R.
(from 11.2 x86_64 “Emerald” at Telcontar)