angular-cn/integration/ivy-i18n
Pete Bacon Darwin 72f534f7f8 feat(localize): support merging multiple translation files (#36792)
Previously only one translation file per locale could be loaded.

Now the user can specify multiple files per locale, and the translations
from each of these files will be merged together by message id.
The merging is on a first-wins approach. So if to you have three files
to be merged:

```
['a.xlf', 'b.xmb', 'c.json']
```

Then any message from `a.xlf` will be used rather than a message from `b.xmb`
or `c.json` and so on. In practice this means that you should put the files
in order of most important first, with "fallback" translations later.

PR Close #36792
2020-05-01 09:46:12 -07:00
..
e2e feat(localize): support merging multiple translation files (#36792) 2020-05-01 09:46:12 -07:00
src feat(localize): support merging multiple translation files (#36792) 2020-05-01 09:46:12 -07:00
.editorconfig
.gitignore
README.md
angular.json
browserslist
debug-test.sh build: move build scripts to dedicated directory (#35780) 2020-03-04 08:35:26 -08:00
karma.conf.js test: use puppeteer in integration tests and to download correct chromedriver (#35049) 2020-02-11 13:16:52 -08:00
package.json feat(localize): support merging multiple translation files (#36792) 2020-05-01 09:46:12 -07:00
tsconfig.app.json
tsconfig.json
tsconfig.legacy-xmb.json
tsconfig.legacy.json
tsconfig.spec.json
tsconfig.view-engine.json
tslint.json
yarn.lock feat(localize): support merging multiple translation files (#36792) 2020-05-01 09:46:12 -07:00

README.md

CliHelloWorldIvyI18n

This project was generated with Angular CLI version 9.0.0-next.9.

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the --prod flag for a production build.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via Protractor.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.