remove language translation

This commit is contained in:
Lokowitz 2025-05-04 16:35:43 +00:00
parent d460dd35c7
commit 9d68c5666f
3 changed files with 26 additions and 10 deletions

View file

@ -1,8 +1,7 @@
import { useLocale, useTranslations } from 'next-intl';
import { useLocale } from 'next-intl';
import LocaleSwitcherSelect from './LocaleSwitcherSelect';
export default function LocaleSwitcher() {
const t = useTranslations('locales');
const locale = useLocale();
return (
@ -11,14 +10,14 @@ export default function LocaleSwitcher() {
items={[
{
value: 'en-US',
label: t('en-US')
label: 'Englisch'
},
{
value: 'de-DE',
label: t('de-DE')
label: 'German'
}
]}
label={t('label')}
label='Language'
/>
);
}