angular-cn/packages/localize
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
..
init build: reformat repo to new clang@1.4.0 (#36613) 2020-04-14 12:08:36 -07:00
schematics build: reformat repo to new clang@1.4.0 (#36613) 2020-04-14 12:08:36 -07:00
src feat(localize): support merging multiple translation files (#36792) 2020-05-01 09:46:12 -07:00
test build: reformat repo to new clang@1.4.0 (#36613) 2020-04-14 12:08:36 -07:00
BUILD.bazel build: provide full paths to `ts_api_guardian_test_npm_package` and `ts_api_guardian_test` (#36034) 2020-03-12 09:49:00 -07:00
index.ts feat(ivy): i18n - implement compile-time inlining (#32881) 2019-10-09 13:19:38 -07:00
localize.ts feat(ivy): i18n - implement compile-time inlining (#32881) 2019-10-09 13:19:38 -07:00
package.json build: update yargs to 15.3.0 (#36010) 2020-03-11 14:42:16 -04:00
private.ts refactor(localize): consolidate message/translation metadata (#36745) 2020-04-23 12:07:33 -04:00