tasking-manager
tasking-manager copied to clipboard
Error in My contribution page due to change in language from english to other few languages.
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:
- Go to my settings. Make sure that you are signed and have english default language.
- Change Language to Nederlands or svenska.
- Click on my contribution page
- See error
Screenshots
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.
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.
Mapbox supported language (provided by @mapbox/mapbox-gl-language
package)
- ["ar", "en", "es", "fr", "de", "ja", "ko", "mul", "pt", "ru", "zh"]