This project was built using the Universal Starter repo as a base. However, we deleted some code we didn't use for this example.
This repo is part of a tutorial where we explain how internationalize an Angular 6 application, also know as i18n. Internationalizing our app means that it will be available in different languages, we will have a multi language angular website. The good news is that the new Angular CLI can help us with this task.
Coming soon to https://angular-templates.io/tutorials
npm install
- run
npm run start
which will startng serve
https://i18n-demo-angular-templates.herokuapp.com/
ng serve --configuration=es
or
ng serve --configuration=en
npm run build:i18n-ssr && npm run serve:ssr
- Compiles your application and spins up a Node Express to serve your Universal application on http://localhost:4000
.