Hi,
I am planning to use Places Api on my Windows Phone applications and I don't know how can I translate the api result into user language?
Is there any param to service language?
thanks!
Printable View
Hi,
I am planning to use Places Api on my Windows Phone applications and I don't know how can I translate the api result into user language?
Is there any param to service language?
thanks!
Hi,
we are respecting the Accept-Language header. If it is set correctly, you will get localised results.
daniel.
Thanks again, i'll look at the specifications to set the correct header.
Hi,
I have no idea, how this works on Windows phone, but maybe your web client will automatically set the right header based on the language the user’s phone is set to? Could you test?
daniel.
Let's try and we'll tell you the result.
I tested it and we have to provide the Accept-Language on the web cliente like this:
webClient.Headers["Accept-Language"] = "es";