angular-docs-cn/aio/content
Pete Bacon Darwin fdb6b98d80 docs: add `enableI18nLegacyMessageIdFormat` option to Angular compiler options guide (#39453)
The ViewEngine message extraction generated a variety of legacy formats
for extracted message ids. These formats have a number of issues related
to whitespace handling and reliance upon information inside the original
HTML of a template. The new message format is more resilient, and can be
generated directly from calls to `$localize`. This allows messages in
application code to have the same id as identical messages in templates.

As a first step in migrating projects away from the legacy id format
for i18n messages, newly generated projects now turn off the legacy ids.
See https://github.com/angular/angular-cli/pull/19232.

This commit updates the documentation to include information about this
option, since it is now publicly exposed in new CLI projects.

PR Close #39453
2020-10-28 11:02:51 -07:00
..
cli docs: remove all references to Angular Console (#37608) 2020-07-15 12:30:59 -07:00
cli-src build(docs-infra): make the git ref for cli command docs configurable (#26391) 2018-10-11 12:57:49 -07:00
examples docs: use SimpleChanges in component interaction guide (#39342) 2020-10-26 10:47:31 -07:00
guide docs: add `enableI18nLegacyMessageIdFormat` option to Angular compiler options guide (#39453) 2020-10-28 11:02:51 -07:00
images docs: add carlos caballero to GDE resources (#37976) 2020-10-28 10:52:33 -07:00
marketing docs: update Learning Angular book edition (#39400) 2020-10-28 10:57:41 -07:00
start docs: add install Firebase CLI step before using its commands (#39079) 2020-10-27 14:29:05 -07:00
tutorial docs: clarify grammatical error (#39279) 2020-10-19 14:32:41 -07:00
file-not-found.md fix(docs-infra): do not create an anchor for the `file-not-found` header (#27250) 2018-12-05 13:26:26 -08:00
license.md build: bump year (#34651) 2020-01-13 07:21:43 -08:00
navigation.json docs: edit event-binding doc copy and headers (#38903) 2020-10-27 10:37:30 -07:00