Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#4531 closed defect (wontfix)

search results appear with wrong language (with Safari)

Reported by: cquest Owned by: rails-dev@…
Priority: minor Milestone:
Component: website Version:
Keywords: Cc:

Description

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: "París, 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).

Change History (2)

comment:1 Changed 7 years ago by Tom Hughes

Resolution: wontfix
Status: newclosed

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.

comment:2 Changed 7 years ago by cquest

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

Note: See TracTickets for help on using tickets.