import { useI18n, type Language } from "../i18n"; // Switches BOTH the UI language and the spoken call language. The next call // started after switching uses the selected language for the AI prospect. export default function LanguageToggle() { const { language, setLanguage, t } = useI18n(); const options: Language[] = ["en", "de"]; return (