Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

search results appear with wrong language (with Safari) #4531

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 2 comments
Closed

search results appear with wrong language (with Safari) #4531

openstreetmap-trac opened this issue Jul 23, 2021 · 2 comments

Comments

@openstreetmap-trac
Copy link

Reporter: cquest
[Submitted to the original trac issue database at 12.37pm, Sunday, 19th August 2012]

On the map page, when searching for "Paris" under Safari 6.0 / OSX 10.8, the results are displayed using what looks like spanish translations: "Pars, Isla de Francia, France"
or "Paris, Joinville-le-Pont, Nogent-sur-Marne, Valle del Marne, Isla de Francia, 94340, France"

When doing the same with Firefox 14 on same OS, I get "Paris, le-de-France, France" and "Paris, Joinville-le-Pont, Nogent-sur-Marne, Val-de-Marne, le-de-France, 94340, France" which are ok.

It looks like Safari is not sending Accept-language in its XHR request (as seen in Safari's web inspector).

@openstreetmap-trac
Copy link
Author

Author: TomH
[Added to the original trac issue at 3.00pm, Sunday, 19th August 2012]

Well there's not much I can do about that!

If you're logged in then it should still work because it will take the language from your account.

If you're not logged in and there is no Accept-Language then it is likely to wind up doing something fairly arbitrary. To be honest I would have expected English, but it may be that we don't send a language code to Nominatim in that case in which case you are just seeing Nominatim's default behaviour.

@openstreetmap-trac
Copy link
Author

Author: cquest
[Added to the original trac issue at 7.56am, Monday, 20th August 2012]

FYI, I just filled a bug report on Apple's developer web site about this missing accept-language in XHR... bug #12131214

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant