hotosm/tasking-manager

[BUG] Page goes blank when user selects language to Traditional Chinese

littlebtc opened this issue · 1 comments

Describe the bug
Page goes blank when user selects language to Traditional Chinese

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://tasks.hotosm.org/
  2. Pick "繁體中文" (Traditional Chinese) in the language picker.
  3. The language is not updated after choice.
  4. Refresh the page, the site then goes blank.

Expected behavior
It should work correctly in Traditional Chinese.

Desktop (please complete the following information):

  • OS: macOS
  • Firefox
  • 129.0a1 (Nightly)

Additional context
I think this is the same as #6425, change zh to zh_TW in supportedLocales from frontend/src/utils/internationalization.js should fix the issue.

hey @littlebtc, thanks for the report. I'll push a fix soon.