Closed balporig closed 8 months ago
Map display language should not affect search results. Just found that if you search for a street name in for e.g. in Bulgarian that has both name:en
and name:bg
tags and your display language is "English" the result is not found but if you change your display language to "Bulgarian" it shows up. The same is valid vice versa.
In my opinion, all name tags should be indexed and it should not matter the language you search in/the display language if the node has multiple language tags.
OsmAnd~ 4.6.0#755m, released: 2023-09-13 POI Name: "Агенция за устойчиво енергийно развитие" https://www.openstreetmap.org/node/211381 (this poi was recently changed - 9 days ago, so I used actual OsmAnd map data), also tested other POI
Local names | English names (Use latin name if missing) |
---|---|
Steps to reproduce:
Actual result:
To do
Even with English names and Use latin name if missing enabled
, search should be able to find object with native name
OsmAnd~ 4.7.0#1813m, released: 2024-03-12 This issue is no longer reproducible.
Important to note, that in Context menu of tested POI https://www.openstreetmap.org/node/211381 not all tags were displayed
Description
If
Use latin name if missing
Map Language option is enabled, and you search for existing POI in a non-latin language for POI with name in non-latin language no results will be returnedRelated: #15579
How to reproduce
POI Name: "Агенция за устойчиво енергийно развитие" Location:42°42′2″N, 23°19′27″E - 42.7005858, 23.3241546
Make sure you're using the latest OSM data
Enabled
Use latin name if missing
under Configure Map > Map rendering > Map language Map Language: EnglishEnter in search: "агенция за устойчиво"
Actual result
The POI will not be found
Expected result
The POI should be found. Search only accounts for the transliterated display name.
If you disable
Use latin name if missing
option, the POI shows in search resultsSearch should take into account:
Use latin name if missing
(which is already does)name
attributes in all languages set on a given node (name
,name:en
,name:es
etc.)Environment OsmAnd Version:4.5.8 Android/iOS version: Android 10 Device model: Samsung Galaxy S10