We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2bfa706 commit 0933a5fCopy full SHA for 0933a5f
1 file changed
src/app/core/services/language.service.ts
@@ -23,7 +23,7 @@ export class LanguageService {
23
if (userLanguage === this.localeId || userLanguage === (DEFAULT_LANGUAGE as string)) {
24
void this.router.navigate([path]);
25
} else {
26
- void this.router.navigate([`${localeToRedirect}${path}`]);
+ window.location.href = `/${localeToRedirect}${path}`;
27
}
28
29
0 commit comments