https://medium.com/@feloy/deploying-an-i18n-angular-app-with-angular-cli-fc788f17e358
Run with:
ng serve --aot --locale=es --i18n-file=src/i18n/messages.es.xlf --i18n-format=xlf
Extract new messages with:
npm run extract-i18n
Sample app demonstrating how to deploy an i18n Angular app with angular-cli
TypeScript
https://medium.com/@feloy/deploying-an-i18n-angular-app-with-angular-cli-fc788f17e358
Run with:
ng serve --aot --locale=es --i18n-file=src/i18n/messages.es.xlf --i18n-format=xlf
Extract new messages with:
npm run extract-i18n