mapbox / mapbox/mapbox-gl-geocoder
Translate error labels
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 388
- Forks
- 181
- PR merge metrics
- No merged PRs in 30d
Description
Hi everyone!
Even when 'de-DE' locale for geocoder is set (as it is referenced at example), 'No resutls found' error is displayed in English, rather then in locale selected.
Expected behavior: Localized error output.
Example may be found [here](https://docs.mapbox.com/mapbox-gl-js/example/mapbox-gl-geocoder-with-language/) - official documentation page

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 issue using the linked Mapbox GL JS geocoder example with the de-DE locale, then trace where the “No results found” label is selected. Done means the error output is rendered in the selected locale; compare the English and de-DE behavior to verify the change.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend, localization
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100