Skip to content

Commit

Permalink
feat(lang): 🌐 Remove unfinished translations
Browse files Browse the repository at this point in the history
  • Loading branch information
Nudelsuppe42 committed Dec 24, 2023
1 parent 210068f commit e5c1775
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
};
Expand Down
10 changes: 5 additions & 5 deletions src/components/LanguageSwitcher.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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' },
];

Expand Down

0 comments on commit e5c1775

Please sign in to comment.