Angular / ngx-translate Using a separate translation in an internal module does not work

What do we want to do

Use a separate translateLoader, which loads its own translations for a specific module in our application.

What we tried

Many different combinations TranslateModule.forChild/ TranslateModule.forRoot, with isolate: trueor withoutisolate: true

Plunker to show the problem

https://embed.plnkr.co/iw7fnwRwK0BbySVKxnZd/

Are we doing something wrong or is this a problem in ngx-translate?

ps I posted the same issue on github releases of ngx-translate: https://github.com/ngx-translate/core/issues/682

+7
source share
1 answer

? , , ( , AppModule).... , , .... , TranslateModule , . JSON.... , , , .

0

Source: https://habr.com/ru/post/1686393/


All Articles