Enable German (has reached 100%)
This commit is contained in:
parent
59d8b9bfbb
commit
9804d448f6
2 changed files with 5 additions and 0 deletions
|
@ -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":
|
||||
|
|
|
@ -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")) {
|
||||
|
|
Loading…
Add table
Reference in a new issue