From e5c17755c472998da728f77b0e42c98b5522e9ce Mon Sep 17 00:00:00 2001 From: Nudesuppe42 Date: Sun, 24 Dec 2023 13:04:43 +0100 Subject: [PATCH] feat(lang): :globe_with_meridians: Remove unfinished translations --- next.config.js | 2 +- src/components/LanguageSwitcher.tsx | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/next.config.js b/next.config.js index b37a29af..a3e3d2ce 100644 --- a/next.config.js +++ b/next.config.js @@ -13,7 +13,7 @@ const nextConfig = { // }, i18n: { defaultLocale: 'en', - locales: ['en', 'de', 'es', 'fr', 'ru', 'nl', 'zh'], + locales: ['en', 'zh'], // 'de', 'es', 'fr', 'ru', 'nl', }, output: 'standalone', }; diff --git a/src/components/LanguageSwitcher.tsx b/src/components/LanguageSwitcher.tsx index 2a975d4b..28ff0cb9 100644 --- a/src/components/LanguageSwitcher.tsx +++ b/src/components/LanguageSwitcher.tsx @@ -10,11 +10,11 @@ import classes from '../styles/components/LanguageSwitcher.module.css'; export const languages = [ { label: 'English', code: 'en', flag: 'gb' }, - { label: 'Deutsch', code: 'de', flag: 'de' }, - { label: 'Nederlands', code: 'nl', flag: 'nl' }, - { label: 'Français', code: 'fr', flag: 'fr' }, - { label: 'Español', code: 'es', flag: 'es' }, - { label: 'русский', code: 'ru', flag: 'ru' }, + // { label: 'Deutsch', code: 'de', flag: 'de' }, + // { label: 'Nederlands', code: 'nl', flag: 'nl' }, + // { label: 'Français', code: 'fr', flag: 'fr' }, + // { label: 'Español', code: 'es', flag: 'es' }, + // { label: 'русский', code: 'ru', flag: 'ru' }, { label: '中文', code: 'zh', flag: 'cn' }, ];