diff --git a/generators/angular/templates/src/main/webapp/app/shared/language/translation.module.ts.ejs b/generators/angular/templates/src/main/webapp/app/shared/language/translation.module.ts.ejs index 62d29619b44..5bb9b440eda 100644 --- a/generators/angular/templates/src/main/webapp/app/shared/language/translation.module.ts.ejs +++ b/generators/angular/templates/src/main/webapp/app/shared/language/translation.module.ts.ejs @@ -76,7 +76,7 @@ export class TranslationModule { constructor() { this.translateService.setDefaultLang('<%= nativeLanguage %>'); - // if user have changed language and navigates away from the application and back to the application then use previously choosed language + // if user have changed language and navigates away from the application and back to the application then use previously chosen language const langKey = this.stateStorageService.getLocale() ?? '<%= nativeLanguage %>'; this.translateService.use(langKey); }