guptahanu / google-ajax-apis

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

Localization of ClientLocation data #423

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

I have tried utilizing the following code:

google.load("search", "1", {"language" : "it"});
google.setOnLoadCallback(googleLoaded);

In the callback, I look at google.loader.ClientData.address.city, and get
"Padua".

I have tried adding hl=it to the jsapi url, in addition to fetching
everything from google.it.  And it always returns "Padua" for the city
where I live, even though the Italian name for it is "Padova".  Since I'm
writing code that is intended for an Italian web site, I'd like to ensure
that Padova, Venezia, Roma, etc... come out rather than Padua, Venice,
Rome, etc...

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

Firefox, Ubuntu.

Please provide any additional information below.

Original issue reported on code.google.com by davidnwe...@gmail.com on 7 Apr 2010 at 5:15

GoogleCodeExporter commented 8 years ago

Original comment by jscud.w...@gmail.com on 7 Apr 2010 at 5:16