diff --git a/src/components/LanguageSwitcher.tsx b/src/components/LanguageSwitcher.tsx index 8794495..4eae700 100644 --- a/src/components/LanguageSwitcher.tsx +++ b/src/components/LanguageSwitcher.tsx @@ -4,11 +4,11 @@ import { useLocale } from 'next-intl' import { useRouter, usePathname } from '@/navigation' import { routing } from '@/i18n/routing' -const FLAGS: Record = { - en: '🇺🇸', - fr: '🇫🇷', - es: '🇪🇸', - it: '🇮🇹', +const FLAG_LABELS: Record = { + en: 'English', + fr: 'Français', + es: 'Español', + it: 'Italiano', } export function LanguageSwitcher() { @@ -17,21 +17,26 @@ export function LanguageSwitcher() { const pathname = usePathname() return ( -
+
{routing.locales.map((loc) => ( ))}