angular-i18n work-around for translations in code?
This polyfill seems like the best way to go right now: https://github.com/ngx-translate/i18n-polyfill It allows you to wrap anything you want to translate in an i18n() function (this API is likely to be preserved in a future release of Angular – see my notes at the bottom of this answer). The polyfill is mainly written by … Read more