From e43326ed5b156826d4e0ea70190f95e17338baf0 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 3 Apr 2024 15:20:11 +0200 Subject: [PATCH] Support "Spanish (Latin America)" metadata lang --- server/core/initializers/constants.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/server/core/initializers/constants.ts b/server/core/initializers/constants.ts index b8ac94f6f..ab89c4a80 100644 --- a/server/core/initializers/constants.ts +++ b/server/core/initializers/constants.ts @@ -1510,6 +1510,10 @@ async function buildLanguages () { languages['pt'] = 'Portuguese (Brazilian)' languages['pt-PT'] = 'Portuguese (Portugal)' + // Override Spanish labels + languages['es'] = 'Spanish (Spain)' + languages['es-419'] = 'Spanish (Latin America)' + // Chinese languages languages['zh-Hans'] = 'Simplified Chinese' languages['zh-Hant'] = 'Traditional Chinese'