Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change the default geocoding language #6

Open
alulsh opened this issue Feb 1, 2021 · 0 comments
Open

Change the default geocoding language #6

alulsh opened this issue Feb 1, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@alulsh
Copy link
Owner

alulsh commented Feb 1, 2021

Currently, calls to the Mapbox Geocoding API don't set the default language. The language is likely defaulting to English if not set. If your family tree includes a lot of place names in another language (e.g. France, Germany, Italy, etc.) then this may reduce the relevancy of your results.

You should be able to select a default language to improve the relevancy of your mapped results. The Mapbox Geocoding API supports multiple languages, so you could even provide multiple preferred geocoding languages. A package like https://github.com/sozialhelden/ietf-language-tags could validate the language codes you provide.

@alulsh alulsh added the enhancement New feature or request label Feb 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant