π The open-source, offline-first Notion, Obsidian & Confluence alternative. Advanced Markdown, multi-tenant teams, OIDC/SSO, and local S3 backups. Deploy in one command.
Vue dockergolangkanbanknowledge-baseknowledge-managementmarkdownnote-takingnotesnotes-appnotionnuxtnuxtjsoffline-firstoidcpwaselfhostedssovuevuejswiki
fix(i18n): navigation change current locale (#678)
Smauge18cbae53260
diff --git a/frontend/app/components/AppFooter.vue b/frontend/app/components/AppFooter.vueindex 6fa27e21..b1fff8a7 100644--- a/frontend/app/components/AppFooter.vue+++ b/frontend/app/components/AppFooter.vue@@ -163,7 +163,8 @@ const selectLocale = async (nextLocale: string | number) => {}await loadLocaleMessages(normalizedLocale);- await setLocale(normalizedLocale);+ setLocale(normalizedLocale);+ locale.value = normalizedLocale;};</script>diff --git a/frontend/nuxt.config.ts b/frontend/nuxt.config.tsindex e5a20294..3e335707 100644--- a/frontend/nuxt.config.ts+++ b/frontend/nuxt.config.ts@@ -145,6 +145,7 @@ export default defineNuxtConfig({{ code: 'it', file: 'it/index.ts', language: 'it-IT' },],strategy: 'prefix_except_default',+ skipSettingLocaleOnNavigate: true,baseUrl: import.meta.env.NUXT_PUBLIC_BASE_URL,pages: {