angular-docs-cn/packages/compiler/src/i18n
Pete Bacon Darwin f640a4a494 fix(ivy): i18n - turn on legacy message-id support by default (#33053)
For v9 we want the migration to the new i18n to be as
simple as possible.

Previously the developer had to positively choose to use
legacy messsage id support in the case that their translation
files had not been migrated to the new format by setting the
`legacyMessageIdFormat` option in tsconfig.json to the format
of their translation files.

Now this setting has been changed to `enableI18nLegacyMessageFormat`
as is a boolean that defaults to `true`. The format is then read from
the `i18nInFormat` option, which was previously used to trigger translations
in the pre-ivy angular compiler.

PR Close #33053
2019-10-10 13:58:30 -07:00
..
serializers refactor(compiler): use `options` argument for parsers (#28055) 2019-02-12 20:58:27 -08:00
digest.ts feat(ivy): i18n - render legacy message ids in `$localize` if requested (#32937) 2019-10-03 12:12:55 -07:00
extractor.ts fix(compiler): i18n_extractor now outputs the correct source file name (#24885) 2018-07-16 16:09:01 -04:00
extractor_merger.ts build(bazel): Turning on strictPropertyInitialization for Angular. (#24572) 2018-06-25 07:57:13 -07:00
i18n_ast.ts fix(ivy): i18n - turn on legacy message-id support by default (#33053) 2019-10-10 13:58:30 -07:00
i18n_html_parser.ts refactor(compiler): use `options` argument for parsers (#28055) 2019-02-12 20:58:27 -08:00
i18n_parser.ts feat(ivy): ICU support for Ivy (#26794) 2018-11-16 16:09:30 -08:00
index.ts fix(ivy): i18n - use `MessageId` for matching translations (#32594) 2019-09-17 09:17:44 -07:00
message_bundle.ts refactor(compiler): use `options` argument for parsers (#28055) 2019-02-12 20:58:27 -08:00
parse_util.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
translation_bundle.ts refactor(compiler): use `options` argument for parsers (#28055) 2019-02-12 20:58:27 -08:00