Wednesday, August 27, 2008

Google Firefox search bar language change

 

As am in korea now, Whenever I search using Firefox Search bar with google, I always get Korean Google Search which is really annoying. When I searched around for solutions, nothing gave me a clear picture. So, started my 2-min hacking fest !!.. I tried this in Windows and am sure that it will work for any platform which has firefox :)

  • Went into Mozilla Firefox Installation directory C:\Program Files\Mozilla Firefox
  • Saw a searchplugins directory
  • When I opened it, saw google.xml
  • Opened it and found that "google.com" is used for searching. google.com uses domain forwarding technique based on the region we are hitting from.
  • So, replaced all references of google.com to google.co.in (Google India)
  • You can replace to whatever country domain you prefer.. but replace all the references of google.com
  • Restart Firefox !!

Done !!.. Hurray.. !! Got the Indian Google Page..

This is how my google.xml looks now,

<Url type="application/x-suggestions+json" method="GET" template="http://suggestqueries.google.co.in/complete/search?output=firefox&amp;client=firefox&amp;hl={moz:locale}&amp;q={searchTerms}"/>
<Url type="text/html" method="GET" template="
http://www.google.co.in/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>
<SearchForm>
http://www.google.co.in/firefox</SearchForm>
</SearchPlugin>

No comments:

Post a Comment