I have pure pipe
TranslatePipe that translates phrases using
LocaleService that has
locale$: Observable<string> current locale. I also have
ChangeDetectionStrategy.OnPush enabled for all my components including
AppComponent. Now, how can I reload whole application when someone changes language? (emits new value in
Currently, I'm using
location.reload() after user switches between languages. And that's annoying, because whole page is reloaded. How can I do this angular-way with pure pipe and OnPush detection strategy?