You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[x] bug report => check the FAQ and search github for a similar issue or PR before submitting
[ ] support request => check the FAQ and search github for a similar issue before submitting
[ ] feature request
Current behavior TranslateService.stream can miss language changes when there has not been subscribed to the Observable created of it.
Expected/desired behavior TranslateService.stream shouldn't make the first translation when it is called. Only when someone is subscribing to its Observable.
I'm submitting a ... (check one with "x")
Current behavior
TranslateService.stream
can miss language changes when there has not been subscribed to theObservable
created of it.Expected/desired behavior
TranslateService.stream
shouldn't make the first translation when it is called. Only when someone is subscribing to itsObservable
.Reproduction of the problem
http://plnkr.co/edit/iI7WDj9ht9xwHbLPNNrz
The french translation should be shown, but the english text is displayed.
Please tell us about your environment:
See in plunker.
Known workaround
Wrap the
Observable
created bystream
withdefer
.The text was updated successfully, but these errors were encountered: