Skip to content

Commit 1c310d3

Browse files
committed
fix: force page reload to ensure complete translation application
1 parent a17955e commit 1c310d3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/i18n/LanguageManager.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,4 +90,10 @@ export async function changeUserSessionLanguage(languageCode) {
9090
} catch (error) {
9191
logError(error);
9292
}
93+
94+
// Force page reload to ensure complete translation application.
95+
// While some translations update via the publish event, many sections
96+
// of the platform are not configured to receive these events or
97+
// handle translations dynamically, requiring a full reload for consistency.
98+
window.location.reload();
9399
}

0 commit comments

Comments
 (0)