Skip to content

High performance self-hosted photo and video management solution.

fix(web): change the code zh-Hans to zh-CN (#13414)

fa1seut0pia1193adf0f540
diff --git a/web/src/lib/constants.ts b/web/src/lib/constants.ts
index b86e057ffd..c94b53239b 100644
--- a/web/src/lib/constants.ts
+++ b/web/src/lib/constants.ts
@@ -314,13 +314,13 @@ export const langs = [
{ name: 'Vietnamese', code: 'vi', loader: () => import('$lib/i18n/vi.json') },
{
name: 'Chinese (Traditional)',
- code: 'zh-Hant',
+ code: 'zh-TW',
weblateCode: 'zh_Hant',
loader: () => import('$lib/i18n/zh_Hant.json'),
},
{
name: 'Chinese (Simplified)',
- code: 'zh-Hans',
+ code: 'zh-CN',
weblateCode: 'zh_SIMPLIFIED',
loader: () => import('$lib/i18n/zh_SIMPLIFIED.json'),
},