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

Page goes blank when user selects language to Netherlands #6425

Closed
manjitapandey opened this issue May 10, 2024 · 3 comments · Fixed by #6426
Closed

Page goes blank when user selects language to Netherlands #6425

manjitapandey opened this issue May 10, 2024 · 3 comments · Fixed by #6426
Assignees

Comments

@manjitapandey
Copy link

manjitapandey commented May 10, 2024

Describe the bug
When user changes their language to netherlands, the website of tasking manager goes blank.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'settings
  2. Click on 'language'
  3. change language from English to Netherlands.
  4. See error

Expected behavior
The page should function smooth instead of showing blank page.

Screenshots
image

**Additional **
https://hotosm.slack.com/archives/C319P09PB/p1715157425925069 : slack conversation

@SiemHW
Copy link

SiemHW commented May 10, 2024

LS, I'm having the same problem since the website requested an update. I think it was May 8th. So I haven't been able to map for a few days now because the website (https://tasks.hotosm.org/) does not show any images.
Kind regards, SiemHW

@manjitapandey
Copy link
Author

My contribution page shows unknown error changing from english to other languages. More details on : #6429

steps to reproduce:

  • change language settings to netherlands
  • go to my contributon page
  • see error

image (9)

@royallsilwallz
Copy link
Contributor

Findings
This issue stemmed from frontend dependency updates PR, changes in frontend/src/utils/internationalization.js file, where Taylor refactored this part of the code. This resulted the mappings for static language json files to be handled improperly, and thus caused the page to crash when the json files were not found.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants