feat: Add German, Spanish, and French translations and update i18n configuration.

This commit is contained in:
2025-12-26 15:29:02 +01:00
parent e44771902c
commit 23b3c5000f
8 changed files with 220 additions and 8 deletions

View File

@@ -6,6 +6,9 @@ import { Languages } from "lucide-react";
const LANGUAGES = [
{ code: "en", label: "English" },
{ code: "pl", label: "Polski" },
{ code: "es", label: "Español" },
{ code: "de", label: "Deutsch" },
{ code: "fr", label: "Français" },
];
export function LanguageSwitcher() {
@@ -22,7 +25,7 @@ export function LanguageSwitcher() {
<Languages className="h-4 w-4" />
{t("Language")}
</Label>
<div className="col-span-3 flex gap-2">
<div className="col-span-3 flex gap-2 flex-wrap">
{LANGUAGES.map((lang) => (
<Button
key={lang.code}