added language routing system

This commit is contained in:
sdarbinyan
2026-02-26 22:23:08 +04:00
parent a4765ffe98
commit e4206d8abc
34 changed files with 197 additions and 98 deletions

View File

@@ -22,7 +22,7 @@ export class LanguageSelectorComponent {
selectLanguage(lang: Language): void {
if (lang.enabled) {
this.languageService.setLanguage(lang.code);
this.languageService.switchLanguage(lang.code);
this.dropdownOpen = false;
}
}