mapbox / mapbox/mapbox-gl-geocoder

Translate error labels

Open
#328 9 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
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
![Screenshot from 2019-12-16 16-08-50](https://user-images.githubusercontent.com/29282632/70918062-2385b500-2027-11ea-89b5-0e839a3cc28a.png)

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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.