by schematic
if we want to use ngx-translate, we just run
ng add @ngx-translate/core
and then TranslateModule has imported into AppModule.
What is the motivation / use case for changing the behavior?
Copy from Angular Website
A schematic is a template-based code generator that supports complex logic. It is a set of instructions for transforming a software project by generating or modifying code. Schematics are packaged into collections and installed with npm.
i hope that this makes it more convenient to add i18n support to our angular application.
Current behavior
if we want to use ngx-translate, we need run
and then import TranslateModule in AppModule.
Expected behavior
by schematic if we want to use ngx-translate, we just run
and then TranslateModule has imported into AppModule.
What is the motivation / use case for changing the behavior?
Copy from Angular Website
i hope that this makes it more convenient to add i18n support to our angular application.
How do you think that we should implement this?
this is the doc