Using dynamic import as loader and translation scopes #431
EladShechter
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey there,
First of all, this package is awesome, and helps a lot.
I wanted to ask about a transloco loader implementation that was introduced by @NetanelBasal in this article:
https://netbasal.com/strategies-for-cache-busting-translation-files-in-angular-86143ee14c3c#5692
In here, we are using the webpack dynamic import instead of using HttpClient angular service. The problem, is when I have multiple scopes like described in https://ngneat.github.io/transloco/docs/scope-configuration
Webpack dynamic import fetches only the direct files, and not the files in the nested folders.
I tried to add with the import the comment
but it didn't helped
Is someone have a solution for using dynamic import and multiple scopes?
Beta Was this translation helpful? Give feedback.
All reactions