-
-
Notifications
You must be signed in to change notification settings - Fork 212
[REQUEST] OSM geocoding language #957
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or requestreadyReady for contributors to work on. PRs are allowed for these issues.Ready for contributors to work on. PRs are allowed for these issues.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestreadyReady for contributors to work on. PRs are allowed for these issues.Ready for contributors to work on. PRs are allowed for these issues.
Projects
Status
Ready
💡 Feature Summary
Response of OSM geocoding in the current user language
🤔 Problem Statement
When i want to add a new adventure, the quick start feature is really cool but the anwser is in osm local language (japanese for Japan, german for Germany...).
🛠️ Proposed Solution
It would be better to use the AdventureLog user language.
Code
Indeed, there is no language header in the osm request :
AdventureLog/backend/server/adventures/geocoding.py
Lines 113 to 129 in d954ac0
Documentation : https://nominatim.org/release-docs/develop/api/Search/#language-of-results