Skip to content

High performance self-hosted photo and video management solution.

refactor(i18n): Follow IETF standard (#26171)

Xantin2fb9f84b5662
diff --git a/i18n/zh_SIMPLIFIED.json b/i18n/zh_Hans.json
similarity index 100%
rename from i18n/zh_SIMPLIFIED.json
rename to i18n/zh_Hans.json
diff --git a/web/src/lib/constants.ts b/web/src/lib/constants.ts
index c7181e04c6..53a73d471d 100644
--- a/web/src/lib/constants.ts
+++ b/web/src/lib/constants.ts
@@ -340,8 +340,8 @@ export const langs: Lang[] = [
{
name: 'Chinese (Simplified)',
code: 'zh-CN',
- weblateCode: 'zh_SIMPLIFIED',
- loader: () => import('$i18n/zh_SIMPLIFIED.json'),
+ weblateCode: 'zh_Hans',
+ loader: () => import('$i18n/zh_Hans.json'),
},
{ name: 'Development (keys only)', code: 'dev', loader: () => Promise.resolve({ default: {} }) },
];