mapbox / mapbox/mapbox-gl-geocoder
Impossible to find China with language 'fr'
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 388
- Forks
- 181
- PR merge metrics
- No merged PRs in 30d
Description
When language is set to 'fr' you need to type 'République populaire de Chine' to find China, typing only 'Chine' or 'China' doesn't return the country even though everyone call it like that.
Also I've noticed that on the demo page https://docs.mapbox.com/playground/geocoding/ you can remove language without it default to browser language but I can't find how to do it.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the French-language China search in the linked geocoding demo, then compare it with the behavior when language is omitted. Trace how the geocoder control passes language to the Mapbox Geocoding API and determine whether both China aliases should work and how the language setting can be unset. Done means the reported searches work and the language option can be removed without defaulting to the browser language.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend, search
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 32/100