Skip to content

localize-extract does not write 'original' attribute #38570

@ArtemAvramenko

Description

@ArtemAvramenko

🐞 bug report

Affected Package

The issue is caused by package @angular/localize^10.1.0-next.7

Is this a regression?

Yes, the View Engine extraction via AngularCompilerPlugin write xlf attribute as:

<file source-language="en" datatype="plaintext" original="ng2.template">

Description

I call localize-extract and get xlf file without original attribute:

  ...
  <file source-language="en" datatype="plaintext">
  ...

My CAT tool (OmegaT) cannot open this file.

🌍 Your Environment

Angular Version:

10.1.0-next.7

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions