Mozilla Language Redirector Script

Martin Brinkmann
May 2, 2012
Updated • Mar 31, 2014
Firefox, userscripts
|
1

Update: The script is no longer working unfortunately. You can still set the preferred language at the page bottom on the Mozilla Add-ons repository, but that won't affect direct links that point to a different language than the one that you have set there.

When you browse regularly on the Mozilla Add-ons Repository website, you may know that it makes the contents available in many different languages. While that is usually not a problem when you open the Mozilla website manually, it can be quite annoying when you click on a link that is taken you to the site.

The interface language is determined by a script when you load the Mozilla Add-ons website manually. Links pointing to add-ons on the site on the other hand can link to foreign language versions of the site. While that too may not be such a big problem, as descriptions and reviews are not showing up translated, you may still prefer to see the site controls and menu options in a language that you understand.

mozilla add-ons

The language remains the same when you navigate away from the page.  While it is possible to change the interface language in a footer pulldown menu displayed on all pages, you may prefer an automated solution instead. Enter Language Redirect for addons.mozilla.org.

The userscript changes the interface language automatically to the language selected in the pull down menu on the Mozilla website. The userscript remembers the selected language, and will automatically change the web address to the selected language. Instead of opening the Danish language version of an add-on on the site, the link that is pointing to it is automatically converted to the selected language instead.

The script has been tested in the Firefox web browser with Greasemonkey installed where it worked as advertised.  It does not seem to work in the Google Chrome browser though. It also needs to be noted that it only works for Firefox add-on listings, and not for Thunderbird or Seamonkey listings.

The userscript can be useful if you sometimes, or even regularly, land on a foreign language Mozilla site after following a link posted on a blog, website or social networking site. (thanks Vineeth for the tip)

Advertisement

Tutorials & Tips


Previous Post: «
Next Post: «

Comments

  1. NONO said on May 4, 2012 at 9:39 am
    Reply

    The UI of new firefox is as same as ie 9.wow
    Video sniffer of avant browser is very useful; you can add this in next version

Leave a Reply

Check the box to consent to your data being stored in line with the guidelines set out in our privacy policy

We love comments and welcome thoughtful and civilized discussion. Rudeness and personal attacks will not be tolerated. Please stay on-topic.
Please note that your comment may not appear immediately after you post it.