From 8f7d35fd0fa900fc94c035b5d7d608bf733e6d10 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 17 Jan 2022 11:33:06 +0100 Subject: [PATCH] Add simplified/traditional chinese languages --- server/initializers/constants.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts index 12c42b5e0..b2f511152 100644 --- a/server/initializers/constants.ts +++ b/server/initializers/constants.ts @@ -1102,6 +1102,10 @@ function buildLanguages () { languages['oc'] = 'Occitan' languages['el'] = 'Greek' + // Chinese languages + languages['zh-Hans'] = 'Simplified Chinese' + languages['zh-Hant'] = 'Traditional Chinese' + return languages }