-
Notifications
You must be signed in to change notification settings - Fork 26.5k
Closed
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: i18nIssues related to localization and internationalizationIssues related to localization and internationalization
Milestone
Description
🐞 bug report
Affected Package
The issue is caused by package @angular/localize
Is this a regression?
Yes, the previous version in which this bug was not present was: v10
Description
Component template (it's usually formatted like this by prettier):
<div i18n>
test {{ title }}
</div>
Running ng xi18n
in angular v10, produced output that contained source
element that looked:
<source>
test <x id="INTERPOLATION" equiv-text="{{ title }}"/>
</source>
Now after running ng extract-i18n
it's:
<source> test <x id="INTERPOLATION" equiv-text="t {{ title "/>
</source>
🔬 Minimal Reproduction
https://github.com/kamilchlebek/equiv-text-angular11 (see messages.xlf
)
🌍 Your Environment
(it's a brand new project created using ng new
)
Angular Version:
Angular CLI: 11.0.1
Node: 12.16.1
OS: linux x64
Angular: 11.0.0
... animations, common, compiler, compiler-cli, core, forms
... localize, platform-browser, platform-browser-dynamic, router
Ivy Workspace: Yes
Package Version
---------------------------------------------------------
@angular-devkit/architect 0.1100.1
@angular-devkit/build-angular 0.1100.1
@angular-devkit/core 11.0.1
@angular-devkit/schematics 11.0.1
@angular/cli 11.0.1
@schematics/angular 11.0.1
@schematics/update 0.1100.1
rxjs 6.6.3
typescript 4.0.5
Metadata
Metadata
Assignees
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: i18nIssues related to localization and internationalizationIssues related to localization and internationalization