mapbox / mapbox/mapbox-gl-geocoder

Some results are in Trukish instead of English

Open
#549 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

auto-triaged bug
Dominant language
JavaScript
Stars
388
Forks
181
PR merge metrics
No merged PRs in 30d

Description

When I search for "decatur, il" I got a result in Turkish instead of English.

When I used the playground, I got the same result too. (The second result in the search - the highlited)

Image

` const response = await this.mapboxGeocode.forwardGeocode({
query,
language: ['en']
}).send()
`

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the "decatur, il" query in the playground and inspect the shown mapboxGeocode.forwardGeocode call with language set to ['en']. Determine whether the highlighted Turkish result comes from the geocoder control or the API response. Done means the query consistently returns English results, or the issue documents an upstream limitation with evidence.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
api, localization
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.