From 2fb9f84b5662904c73f97bf570bdd7316e10972e Mon Sep 17 00:00:00 2001 From: Xantin <56741168+Xiticks@users.noreply.github.com> Date: Fri, 13 Feb 2026 18:47:41 +0100 Subject: [PATCH] refactor(i18n): Follow IETF standard (#26171) * refactor(18n): Follow IETF standard Rename zh_SIMPLIFIED to zh_Hans Makes it easier to merge #21337 * fix(web): zh_SIMPLIFIED -> zh_Hans --- i18n/{zh_SIMPLIFIED.json => zh_Hans.json} | 0 web/src/lib/constants.ts | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) rename i18n/{zh_SIMPLIFIED.json => zh_Hans.json} (100%) 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: {} }) }, ];