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

Error in My contribution page due to change in language from english to other few languages. #6429

Closed
manjitapandey opened this issue May 13, 2024 · 2 comments · Fixed by #6430
Assignees
Labels
scope: frontend status: testing Does it really work or is it pretending to work? type: bug

Comments

@manjitapandey
Copy link

manjitapandey commented May 13, 2024

Describe the bug
My contribution page shows error message after i changed my language settings from english to few other languages. I could reproduce those error while changing language from English to nederlands and svenska.

To Reproduce
Steps to reproduce the behavior:

  1. Go to my settings. Make sure that you are signed and have english default language.
  2. Change Language to Nederlands or svenska.
  3. Click on my contribution page
  4. See error

Screenshots
image

Additional context
this problem could be on other languages too. Will dig in further and provide update on comment.

Update: This error is not only limited to my contribution page but on all pages consisting map like project page, tasks page and more.

@royallsilwallz
Copy link
Contributor

After some digging in, I found that this is related to Mapbox not supporting all the TM selected languages, causing errors due to unsupported languages.

@royallsilwallz
Copy link
Contributor

Mapbox supported language (provided by @mapbox/mapbox-gl-language package)

  • ["ar", "en", "es", "fr", "de", "ja", "ko", "mul", "pt", "ru", "zh"]

royallsilwallz added a commit that referenced this issue May 14, 2024
- Handle Mapbox unsupported locale by fallback to `en` language for unsupported ones
- Related to #6429
@royallsilwallz royallsilwallz added status: testing Does it really work or is it pretending to work? and removed status: in progress labels May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope: frontend status: testing Does it really work or is it pretending to work? type: bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants