mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
When extracting i18n messages, the Angular compiler needs to split ICU expressions into their own message. Currently there is no guaranteed way to re-associate the ICU message with the original message where the ICU was found. This change adds support in the localize tooling so that associated ids can be stored as metadata in the `$localize` tagged strings. These ids can then be used in generated translation files to provide a link between the two messages. The XLIFF 1.2 and 2.0 formats have been updated to render these relationships, via the `xid` and `subFlows` attributes respectively. PR Close #43534 |
||
|---|---|---|
| .. | ||
| extract | ||
| helpers | ||
| migrate | ||
| translate | ||
| BUILD.bazel | ||
| diagnostics_spec.ts | ||
| source_file_utils_spec.ts | ||