hotosm/tasking-manager

Page goes blank when user selects language to Netherlands

Closed this issue · 3 comments

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

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

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)

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.