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,
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.
Daniel Moor
Nokia Places API
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.
Daniel Moor
Nokia Places API
I tested it and we have to provide the Accept-Language on the web cliente like this:
webClient.Headers["Accept-Language"] = "es";