How to apply new lang to string objects in components
alimdi opened this issue · 1 comments
alimdi commented
Hi,
Is there a way to apply newlang after translateService.use('newlang') to a component object/property used in the html template ?
This string object/property gets its value from translateService.instant('STRING_TO_TRANSLATE')
All the piped strings in html template gets translated btw.
Thank you for your help.
alimdi commented
I've found it. Needs to use translateService.stream()