Open davidyoung77 opened 3 years ago
if (!this.language) {
this.firebaseUIService.setLanguage('en');
}
Changing this line in /node_modules/firebaseui-angular-i18n/__ivy_ngcc__/fesm2015/firebaseui-angular-i18n.js
does work, so for some reason the language value isn't loading properly
I have found that language was implemented as an input so I can use it like
<firebase-ui
[language]="language"
(signInSuccessWithAuthResult)="onFirebaseUiSuccess($event)"
(signInFailure)="onFirebaseUiError($event)"
></firebase-ui>
I don't think this is the intended behavior though and isn't documented
If we updated the referenced code in the previous comment I believe it would fix the issue
this.firebaseUIService.setLanguage(this.language || this.firebaseUiConfig.language || 'en');
.forFeature also isn't updating the language
Hi @davidyoung77, can you provide a simple Stackblitz example showing what's wrong? 'cause I've tried it locally once again but it seems to be working fine
I set this up with the following configuration and and everything works except for the language. As you can see I've set the lang to
it
and it is still in english.@l0ll098 Did I miss anything? I will work on debugging this locally as I really want this to work.