Enable German (has reached 100%)

This commit is contained in:
Manav Rathi 2024-05-06 10:19:55 +05:30
parent 59d8b9bfbb
commit 9804d448f6
No known key found for this signature in database
2 changed files with 5 additions and 0 deletions

View file

@ -19,6 +19,8 @@ export const localeName = (locale: SupportedLocale) => {
return "English";
case "fr-FR":
return "Français";
case "de-DE":
return "Deutsch";
case "zh-CN":
return "中文";
case "nl-NL":

View file

@ -22,6 +22,7 @@ import { object, string } from "yup";
export const supportedLocales = [
"en-US" /* English */,
"fr-FR" /* French */,
"de-DE" /* German */,
"zh-CN" /* Simplified Chinese */,
"nl-NL" /* Dutch */,
"es-ES" /* Spanish */,
@ -209,6 +210,8 @@ const closestSupportedLocale = (
return "en-US";
} else if (ls.startsWith("fr")) {
return "fr-FR";
} else if (ls.startsWith("de")) {
return "de-DE";
} else if (ls.startsWith("zh")) {
return "zh-CN";
} else if (ls.startsWith("nl")) {