Home  >  Forum  >  Angular
Post New Query

ng extract-i18n not working



Asked on January 02, 2022
When I run ng extract-i18n commandI am getting message.

>ng extract-i18n
i18n extraction requires the '@angular/localize' package.





Replied on January 02, 2022
You need to add "@angular/localize" in our project.
Go to the root directory of your project and run the command.

ng add @angular/localize

This command will update package.json and polyfills.ts files for localization in our project.


Replied on January 09, 2022
Find the link.

https://www.concretepage.com/angular/angular-cli-extract-i18n-command



Replied on September 18, 2022
Thanks Mohit.

Write Answer











©2022 concretepage.com | Privacy Policy | Contact Us