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

This branch is 7 commits ahead of, 4 commits behind feloy/angular-cli-i18n-sample:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

bede615 · Feb 8, 2017

History

12 Commits
Jan 5, 2017
Feb 8, 2017
Jan 5, 2017
Jan 5, 2017
Feb 8, 2017
Jan 5, 2017
Jan 5, 2017
Feb 8, 2017
Jan 5, 2017
Jan 5, 2017
Jan 5, 2017

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%