<SOLVED> Firefox 12; danish locales disappeared

Questions about applications and software
Forum rules
Before you post please read this

<SOLVED> Firefox 12; danish locales disappeared

Postby kaj on Sat Apr 28, 2012 3:48 pm

By the last update, Firefox was updated to version 12. At the same time my danish language disappered from the menues and all other Firrefox pop-up windows.

I am sure, that danish is set as first priority in preferences, and I know, that the danish language-pack is installed.
Also, I have uninstalled the language pack, then rebooted and reinstalled the language pack, but I still doesn't get danish menues.

I have created a new user to see. if danish shoved up in the new users Firefox, but it doesn't.

The Firefox package and the language package is the same version.
Is this problem known by others?
I know, that in Fedora there are no problem. Firefox 12 is danish in both Fedora 16 and 17.

I really hope, that sombidy can help me with this problem.
Last edited by kaj on Sun Apr 29, 2012 9:38 am, edited 1 time in total.
kaj
Level 1
Level 1
 
Posts: 16
Joined: Sat Sep 06, 2008 11:44 am

Linux Mint is funded by ads and donations.
 

Re: Firefox 12; danish locales disappeared

Postby kaj on Sat Apr 28, 2012 6:08 pm

I forgot to mention, that I use Linux Mint 12.
kaj
Level 1
Level 1
 
Posts: 16
Joined: Sat Sep 06, 2008 11:44 am

Re: Firefox 12; danish locales disappeared

Postby homicide319 on Sun Apr 29, 2012 1:24 am

Same problem here, please help...
homicide319
Level 1
Level 1
 
Posts: 3
Joined: Mon Apr 09, 2012 3:17 pm

Re: Firefox 12; danish locales disappeared

Postby olle on Sun Apr 29, 2012 2:50 am

olle
Level 2
Level 2
 
Posts: 91
Joined: Thu Oct 08, 2009 12:03 pm
Location: Helsinki, Finland

Re: Firefox 12; danish locales disappeared [solved - sort of

Postby kaj on Sun Apr 29, 2012 6:21 am

I have succeded in making my Firefox 12 speaking danish, but the solution is rather difficult to make, as I had to make changes in the Firefox installation.

I have another computer with Ubuntu 11.04 LTS and there Firefox 12 did speak danish, so I compaired the two installations.
I found out, that in ~/.mozilla/firefox/<something>.default/ there is a file called 'extensions.ini', and there were listed some language packs as extensions in the Ubuntu installation but not in Mint.

The path to the extensions were: /usr/lib/firefox/extensions/
I opened the location and found out, that in the Ubuntu installation the directory 'extensions' had a symbolic link to another directory 'firefox.addons', but in the MInt installation 'extensions' had no symbolic link, but in 'firefox-addons' I found all the desired language packs.

I thought, that the solution could be to make the symbolic link.
I had to rename 'extions', I just put a - in front of the name ('-extensions').
Then I could use the command:
sudo ln -s /usr/lib/firefox-addons extensions
standing in /usr/lib/firefox/

When I opened Firefox, it had found all the language packs but I still didn't have the danish menues.
I had to go to the menu item Tools -> Add-ons to activate them and then my Firefox spoke Danish.

My problem is solved, but I will regard it as a bug, that Mint forgot to make /usr/lib/firefox/extensions a symbolic link.
kaj
Level 1
Level 1
 
Posts: 16
Joined: Sat Sep 06, 2008 11:44 am

Re: Firefox 12; danish locales disappeared

Postby Roman Voznyuk on Sun Apr 29, 2012 8:45 am

You can just simply copy proper .xpi file from /usr/lib/firefox-addons/extensions to /usr/lib/firefox/extensions using command like

/usr/lib/firefox-addons/extensions $ sudo cp langpack-ru@firefox.mozilla.org.xpi /usr/lib/firefox/extensions/

And you will get your language back immedietely after Firefox restarts.
Roman Voznyuk
Level 1
Level 1
 
Posts: 2
Joined: Sun Apr 29, 2012 8:38 am

Re: Firefox 12; danish locales disappeared

Postby kaj on Sun Apr 29, 2012 9:33 am

Yes Roman, that is right.
But when a language pack is installed using the packagemanager, (e.g. apt-get install / dpkg -i) it is relying on the existance of a symbolic link between /usr/lib/firefox/extensions and /usr/lib/firefox-addons, as far as I can see.
kaj
Level 1
Level 1
 
Posts: 16
Joined: Sat Sep 06, 2008 11:44 am

Re: Firefox 12; danish locales disappeared

Postby Roman Voznyuk on Sun Apr 29, 2012 10:01 am

kaj wrote:Yes Roman, that is right.
But when a language pack is installed using the packagemanager, (e.g. apt-get install / dpkg -i) it is relying on the existance of a symbolic link between /usr/lib/firefox/extensions and /usr/lib/firefox-addons, as far as I can see.


What I can see, new FireFox is supposed to keep all settings in /usr/lib/firefox, doesn't matter is they are real fails rather than symbolic links. Everything else refers to ../firefox-addons (like searchplugins -> ../firefox-addons/searchplugins), but extensions. That's definitely Mint's bug. So you can either put it into 'extensions' folder or just create a symbolic link extensions->../firefox-addons/extensions.
But In gnereal yes, I agree with you. Any future language-pack updates would put it into firefox-addons, so symbolic link is better solution.
Roman Voznyuk
Level 1
Level 1
 
Posts: 2
Joined: Sun Apr 29, 2012 8:38 am

Re: <SOLVED> Firefox 12; danish locales disappeared

Postby eanfrid on Mon Apr 30, 2012 3:00 am

Same thing happened to me with french locales in Firefox 12 after the upgrade from Firefox 11. I tried with spanish and Deutsch and got a similar result. Then this problem is clearly related to all language-packs, so creating a symlink does "solve" the issue.
Image
Never attribute to malice that which is adequately explained by stupidity.
User avatar
eanfrid
Level 5
Level 5
 
Posts: 514
Joined: Mon Apr 30, 2012 2:49 am
Location: France

Re: <SOLVED> Firefox 12; danish locales disappeared

Postby Youch on Mon Apr 30, 2012 3:40 am

kaj wrote:The path to the extensions were: /usr/lib/firefox/extensions/
I thought, that the solution could be to make the symbolic link.
I had to rename 'extions', I just put a - in front of the name ('-extensions').
Then I could use the command:
sudo ln -s /usr/lib/firefox-addons extensions
standing in /usr/lib/firefox/


Be careful, the symbloic link must point to /usr/lib/firefox-addons/extensions, so type:
sudo ln -s /usr/lib/firefox-addons/extensions extensions
Youch
Level 1
Level 1
 
Posts: 1
Joined: Mon Apr 30, 2012 3:35 am

Re: <SOLVED> Firefox 12; danish locales disappeared

Postby kaj on Mon Apr 30, 2012 4:24 am

Be careful, the symbloic link must point to /usr/lib/firefox-addons/extensions, so type:
sudo ln -s /usr/lib/firefox-addons/extensions extensions


You are right. I controlled the link, and that is also what I have done.
I apologize for writing a wrong command.
kaj
Level 1
Level 1
 
Posts: 16
Joined: Sat Sep 06, 2008 11:44 am

Re: <SOLVED> Firefox 12; danish locales disappeared

Postby dudedude on Tue May 01, 2012 4:08 pm

Thanks a lot for this!!!

However your commands do not work.
I retype the commands exactly as they are required to make it work so people can fix this too. I used them now, and they 100% fix the problem.

1) cd /usr/lib/firefox/
2) sudo mv extensions extensions.old
3) sudo ln -s /usr/lib/firefox-addons/extensions extensions

command as mv (2) is only required if you need to keep old copy to get back (for example in case you are unsure if this works). You can use "rm -rf extensions" instead (within /usr/lib/firefox/).
the case your commands above are not working is because you need to remove or move old broken "extensions" in this /usr/lib/firefox, before you make symlink with this name to right location.

Again, thanks for sharing of solution, Kaj! This affects ALL firefox 12 locales, mine were RU and DE.
dudedude
Level 1
Level 1
 
Posts: 1
Joined: Tue May 01, 2012 4:01 pm

Re: <SOLVED> Firefox 12; danish locales disappeared

Postby rea987 on Sun Aug 19, 2012 5:56 am

dudedude wrote:
1) cd /usr/lib/firefox/
2) sudo mv extensions extensions.old
3) sudo ln -s /usr/lib/firefox-addons/extensions extensions


That worked for Linux Mint 12 Lisa Mate 32-bit for Firefox 14.0.1 with Turkish locales. Thanks a lot... :)
rea987
Level 1
Level 1
 
Posts: 3
Joined: Wed Jun 06, 2012 6:51 pm

Linux Mint is funded by ads and donations.
 

Return to Software & Applications

Who is online

Users browsing this forum: No registered users and 15 guests