I18n additionals (#125)

* New translation keys

* Updates in src/components

* Updates in src/providers

* remove lable in selector, not needed

---------

Co-authored-by: Lokowitz <marvinlokowitz@gmail.com>
This commit is contained in:
vlalx 2025-06-03 21:10:00 +03:00 committed by GitHub
parent dc6fafba41
commit d768bb163a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
16 changed files with 152 additions and 51 deletions

View file

@ -1,4 +1,4 @@
import { useLocale } from 'next-intl';
import { useLocale } from "next-intl";
import LocaleSwitcherSelect from './LocaleSwitcherSelect';
export default function LocaleSwitcher() {
@ -9,35 +9,34 @@ export default function LocaleSwitcher() {
defaultValue={locale}
items={[
{
value: 'en-US',
label: 'Englisch'
value: 'en-US',
label: 'English'
},
{
value: 'fr-FR',
label: 'French'
value: 'fr-FR',
label: "Français"
},
{
value: 'de-DE',
label: 'German'
value: 'de-DE',
label: 'Deutsch'
},
{
value: 'it-IT',
label: 'Italian'
value: 'it-IT',
label: 'Italiano'
},
{
value: 'pl-PL',
label: 'Polish'
value: 'pl-PL',
label: 'Polski'
},
{
value: 'pt-PT',
label: 'Portuguese'
value: 'pt-PT',
label: 'Português'
},
{
value: 'tr-TR',
label: 'Turkish'
value: 'tr-TR',
label: 'Türkçe'
}
]}
label='Language'
/>
);
}