Gl.ib.ly

(glibly); Just another techie blog.

Setting Google search language in Firefox 3.5 on the Mac

Posted by Tariq • Wednesday, July 29. 2009 • Category: Tidbits
While traveling around the place I have been highly annoyed at the Firefox search box's default behavior for Google search. While in the Middle East it shows me RTL pages in Arabic. Well you can easily fix this on the Mac!

Just open the file /Applications/Firefox.app/Contents/MacOS/searchplugins/google.xml in an editor. I normally use vim, so: vim /Applications/Firefox.app/Contents/MacOS/searchplugins/google.xml or you could let your OS decide open /Applications/Firefox.app/Contents/MacOS/searchplugins/google.xml at the terminal.

You should see something like:

...
<Url type="text/html" method="GET" template="http://www.google.com/search">
  <Param name="q" value="{searchTerms}"/>
  <Param name="ie" value="utf-8"/>
  <Param name="oe" value="utf-8"/>
  <Param name="aq" value="t"/>
  <!-- Dynamic parameters -->
  <Param name="rls" value="{moz:distributionID}:{moz:locale}:{moz:official}"/>
  <MozParam name="client" condition="defaultEngine" trueValue="firefox-a" falseValue="firefox"/>
</Url>
...


We change this to:

...
<Url type="text/html" method="GET" template="http://www.google.com/search">
  <Param name="q" value="{searchTerms}"/>
  <Param name="ie" value="utf-8"/>
  <Param name="oe" value="utf-8"/>
  <Param name="aq" value="t"/>
  <!-- Stop Google from thinking we read anything but English -->
  <Param name="hl" value="en"/>
  <!-- Dynamic parameters -->
  <Param name="rls" value="{moz:distributionID}:{moz:locale}:{moz:official}"/>
  <MozParam name="client" condition="defaultEngine" trueValue="firefox-a" falseValue="firefox"/>
</Url>
...


You can change this to any language (just change hl's value) or even country specific languages, like en_GB. When you finish editing save the file and restart Firefox (⌘Q). When using the search box you should now only see results in English.
Defined tags for this entry: , , , , , , ,

My experiences with Google Chrome

Posted by Tariq • Thursday, January 8. 2009 • Category: Computers
On September 1, 2008 Google announced a A fresh take on the browser. I greeted this news enthusiasticly; some people believed that google was mobilizing to crush Microsoft in an all out internet browser war. At the same time Firefox crackpots (I am nearly one :op) riled at how inferior Google Chrome was or still *is* -- what no browser extensions? I decided to hold back on what I thought and give it a fair chance.

Continue reading "My experiences with Google Chrome"

Defined tags for this entry: , , , , , ,

Skype: And the crappy browser addon

Posted by Tariq • Wednesday, December 3. 2008 • Category: Rants
I generally hate to update things which work just fine. There is usually very little reason to: the application is in use because the stability and feature set of the current version are good. Now I have used Skype for years (probably only using 20% of the available feature set) and I always loathed upgrading because it'll try and install a bunch of stuff I don't need. Which is bad, but installing utter crap now that's just not on. Take a look at what Skype's FireFox addon does to my links below.

Continue reading "Skype: And the crappy browser addon"

Defined tags for this entry: , , , , ,