Skip to content

Commit 0933a5f

Browse files
committed
feat(core): reload entire window in language change
1 parent 2bfa706 commit 0933a5f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/app/core/services/language.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export class LanguageService {
2323
if (userLanguage === this.localeId || userLanguage === (DEFAULT_LANGUAGE as string)) {
2424
void this.router.navigate([path]);
2525
} else {
26-
void this.router.navigate([`${localeToRedirect}${path}`]);
26+
window.location.href = `/${localeToRedirect}${path}`;
2727
}
2828
}
2929

0 commit comments

Comments
 (0)