hotosm / tasking-manager

Tasking Manager - The tool to team up for mapping in OpenStreetMap
https://wiki.openstreetmap.org/wiki/Tasking_Manager
BSD 2-Clause "Simplified" License
505 stars 271 forks source link

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

Closed littlebtc closed 2 months ago

littlebtc commented 3 months ago

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):

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.

royallsilwallz commented 3 months ago

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