Netanel Basal
1 min readSep 6, 2019

--

Thanks for the article.

For lazy-loaded translations in code, you’ll need to do this:

You took the hard way :). You can just pass the scope as the third parameter:

selectTranslate(key, params, langOrScope)

Moreover, we’re currently working on big new things such as powerful CLI support and built-in locale support. Stay tuned!

--

--

Netanel Basal
Netanel Basal

Written by Netanel Basal

A FrontEnd Tech Lead, blogger, and open source maintainer. The founder of ngneat, husband and father.

No responses yet