Opened 6 years ago

Closed 3 months ago

#5166 closed defect (fixed)

short_name used instead of name for results in languages without translated name

Reported by: andersg Owned by: geocoding@…
Priority: minor Milestone:
Component: nominatim Version:
Keywords: Cc:

Description

Search result for places which has short_name set using accept-language which is missing an explicit translation will give you the short_name instead of name.

Example: New York City displayed with accept-language=sv will have NYC as first component of display_name and as city in address details. I expect it to be New York City.

Example url: http://nominatim.openstreetmap.org/search.php?q=new%20york%20city&accept-language=sv&addressdetails=1&format=json

Change History (1)

comment:1 Changed 3 months ago by Sarah Hoffmann

Resolution: fixed
Status: newclosed

short_name is no longer the preferred tag.

Note: See TracTickets for help on using tickets.