Skip to content

Sample app demonstrating how to deploy an i18n Angular app with angular-cli

Notifications You must be signed in to change notification settings

tsvetomir/angular-cli-i18n-sample

 
 

Repository files navigation

A modified version of the application showcased in Deploying an i18n Angular app with angular-cli.

Translation messages are keyed and stored in the src/i18n/lang folder. They're then populated in the generated message files with xlf-translate.

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

Populate keyed translated messages with:

npm run translate-i18n

About

Sample app demonstrating how to deploy an i18n Angular app with angular-cli

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 66.8%
  • JavaScript 24.3%
  • HTML 7.9%
  • CSS 1.0%