From eaac170a6040d00caedc3c98255bddb83823936b Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Tue, 10 Feb 2026 23:05:57 +0100 Subject: [PATCH] fix(webapp): properly switch language on static pages (#9202) --- webapp/plugins/i18n.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/webapp/plugins/i18n.js b/webapp/plugins/i18n.js index 7af8c292a..63e051b8e 100644 --- a/webapp/plugins/i18n.js +++ b/webapp/plugins/i18n.js @@ -44,7 +44,9 @@ export default ({ app, req, cookie, store }) => { }) if (!app.$i18n.localeExists(localeInStore)) { import(`~/locales/${localeInStore}.json`).then((res) => { - app.$i18n.add(localeInStore, res.default) + const translation = res.default + translation.html = htmlTranslations[localeInStore] + app.$i18n.add(localeInStore, translation) }) }