RenatoSousa89 / google-ajax-apis

Automatically exported from code.google.com/p/google-ajax-apis
0 stars 0 forks source link

gl support not working for Belgium results #373

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. setting the gl=be
2. setting the lr=lang_fr

What is the expected output? What do you see instead?

localized results from Belgium in FR language

What version of the product are you using? On what operating system?

Windows XP, Latest Ajax Api Version:
new google.search.WebSearch();

Please provide any additional information below.

Belgium has 2 language zones: nl and fr.
It looks like Goolgle gives a higher preference to gl than lr.
If the gl is set to BE than lr=fr is discarded. This should not be the
case. We should get fr results from belgium.

Original issue reported on code.google.com by Nick.Bel...@gmail.com on 5 Jan 2010 at 8:40

GoogleCodeExporter commented 8 years ago
in my additional info I say lr=fr, I mean lr=lang_fr like I wrote in the steps 
to
reproduce...

Original comment by Nick.Bel...@gmail.com on 5 Jan 2010 at 8:44

GoogleCodeExporter commented 8 years ago
steps to reproduce made easy:
bad results lr=lang_fr:
http://www.google.com/uds/GwebSearch?callback=google.search.WebSearch.RawComplet
ion&context=0&lstkp=0&rsz=large&hl=nl&gss=.be&sig=e9f8dce19a560672399dfda5883116
6a&q=web%2Bdesign&safe=off&lr=lang_fr&gl=be&gl=www.google.com&key=ABQIAAAAPSVgl-
_xCezLp2DTLpab6xREpxI_6AqwWB3LR6u7dRI6ESvX_hQw07xOAhhy0XYPXRRU_8BiWyFPDQ&v=1.0

gives back identical DUTCH results as lr=lang_l:
http://www.google.com/uds/GwebSearch?callback=google.search.WebSearch.RawComplet
ion&context=0&lstkp=0&rsz=large&hl=nl&gss=.be&sig=e9f8dce19a560672399dfda5883116
6a&q=web%2Bdesign&safe=off&lr=lang_nl&gl=be&gl=www.google.com&key=ABQIAAAAPSVgl-
_xCezLp2DTLpab6xREpxI_6AqwWB3LR6u7dRI6ESvX_hQw07xOAhhy0XYPXRRU_8BiWyFPDQ&v=1.0

Original comment by Nick.Bel...@gmail.com on 6 Jan 2010 at 9:20