diff --git a/public/locales/de/translation.json b/public/locales/de-DE/translation.json similarity index 99% rename from public/locales/de/translation.json rename to public/locales/de-DE/translation.json index ef0ec41..8757632 100644 --- a/public/locales/de/translation.json +++ b/public/locales/de-DE/translation.json @@ -254,7 +254,7 @@ "components": { "NavigationButton": { - "overview": "Überblibkc", + "overview": "Überblick", "aliases": "Aliase", "reports": "Berichte", "settings": "Einstellungen" diff --git a/public/locales/en/translation.json b/public/locales/en-US/translation.json similarity index 100% rename from public/locales/en/translation.json rename to public/locales/en-US/translation.json diff --git a/src/components/LanguageButton.tsx b/src/components/LanguageButton.tsx index 2501be8..d723f40 100644 --- a/src/components/LanguageButton.tsx +++ b/src/components/LanguageButton.tsx @@ -22,9 +22,11 @@ export default function LanguageButton(): ReactElement { const {isLocked, showDialog} = useContext(LockNavigationContext) const {i18n} = useTranslation() + console.log(i18n.resolvedLanguage, SORTED_ENTRIES) + return (