From 6b09a99dcd87a9501840880182b2749a52e59dc3 Mon Sep 17 00:00:00 2001 From: NSDE Date: Tue, 15 Aug 2023 22:25:08 +0200 Subject: [PATCH] Maybe fixed language display issues? --- public/locales/en-US | 1 + public/locales/{en-US => en}/about.json | 0 public/locales/{en-US => en}/api.json | 0 public/locales/{en-US => en}/drive.json | 0 public/locales/{en-US => en}/main.json | 0 public/locales/{en-US => en}/model.json | 0 src/constants/language.ts | 8 ++++---- 7 files changed, 5 insertions(+), 4 deletions(-) create mode 100644 public/locales/en-US rename public/locales/{en-US => en}/about.json (100%) rename public/locales/{en-US => en}/api.json (100%) rename public/locales/{en-US => en}/drive.json (100%) rename public/locales/{en-US => en}/main.json (100%) rename public/locales/{en-US => en}/model.json (100%) diff --git a/public/locales/en-US b/public/locales/en-US new file mode 100644 index 0000000..2c4c454 --- /dev/null +++ b/public/locales/en-US @@ -0,0 +1 @@ +en \ No newline at end of file diff --git a/public/locales/en-US/about.json b/public/locales/en/about.json similarity index 100% rename from public/locales/en-US/about.json rename to public/locales/en/about.json diff --git a/public/locales/en-US/api.json b/public/locales/en/api.json similarity index 100% rename from public/locales/en-US/api.json rename to public/locales/en/api.json diff --git a/public/locales/en-US/drive.json b/public/locales/en/drive.json similarity index 100% rename from public/locales/en-US/drive.json rename to public/locales/en/drive.json diff --git a/public/locales/en-US/main.json b/public/locales/en/main.json similarity index 100% rename from public/locales/en-US/main.json rename to public/locales/en/main.json diff --git a/public/locales/en-US/model.json b/public/locales/en/model.json similarity index 100% rename from public/locales/en-US/model.json rename to public/locales/en/model.json diff --git a/src/constants/language.ts b/src/constants/language.ts index ffe1224..d749b65 100644 --- a/src/constants/language.ts +++ b/src/constants/language.ts @@ -3,9 +3,9 @@ export const i18nLanguages = [ // 'ar', // 'da', // 'de', - // 'en', + 'en', // 'en-GB', - 'en-US', + // 'en-US', // 'es', // 'fr', // 'fr-FR', @@ -29,9 +29,9 @@ export const selectableLanguages = [ // 'ar', // 'da', // 'de', - // 'en', + 'en', // 'en-GB', - 'en-US', + // 'en-US', // 'es', // 'fr', // 'fr-FR',