Raghuveersingh / google-ajax-apis

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

Suggested Countries in Code Reference needs to be changed #518

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
In the code reference: Flash and Other Non-Javascript Environments --> Web 
Search Specific Arguments 
(http://code.google.com/apis/ajaxsearch/documentation/reference.html#_fonje_web)
.

The suggested countries to use for the gl parameter are incorrect. 'uk' is not 
a valid value for that parameter according to the ISO-3166-1 country codes that 
are linked to in the description. A request to the API using that code returns 
the same results as using 'us'.

The description should read something like: 
This optional argument allows the caller to tailor the results to a specific 
country. The value should be a valid country code (e.g. au, gb, de, etc.). If 
this argument is not present, then the system will use a value based on the 
domain used to load the API (e.g. http://www.google.com/jsapi). If the API 
loader was not used, a value of "us" is assumed. 

Original issue reported on code.google.com by landy...@gmail.com on 20 Sep 2010 at 6:13