HemmeligOrg / Hemmelig.app

Keep your sensitive information out of chat logs, emails, and more with encrypted secrets.
https://hemmelig.app
MIT License
681 stars 57 forks source link

It seems that the I18N for Simplified Chinese(zh-CN) is no longer working #275

Closed nyable closed 5 months ago

nyable commented 5 months ago

Description

Hello, When I set the browser language to Simplified Chinese(zh-CN), it seems that both the official website and self-hosted version cannot display the translated content correctly. The file directory is located at /locales/zh-cn/translation.json, but request /locales/zh-CN/translation.json and /locales/zh/translation.json. 404 NOT FOUND appears, resulting in the inability to display translated content. When I rename directory 'zh-cn' to 'zh' or 'zh-CN' in the development environment, I am able to display translation results.

Screenshots

official

zh-cn

localhost: default

3

localhost: after rename zh-cn to zh-CN or zh

rename_zh-CN

Additional information

No response

bjarneo commented 5 months ago

Thank you! Can you create a PR for this?