Skip to content

Conversation

petebacondarwin
Copy link
Contributor

When extracting i18n messages from source code, the XLIFF
serializers were missing some required attributes on the <file>
element.

This commit re-introduces the original property to each of XLIFF 1.2
and 2.0 serializers. Also it adds in the required id property for the
XLIFF 2.0 seralizer.

Fixes #38570

When extracting i18n messages from source code, the XLIFF
serializers were missing some required attributes on the `<file>`
element.

This commit re-introduces the `original` property to each of XLIFF 1.2
and 2.0 serializers. Also it adds in the required `id` property for the
XLIFF 2.0 seralizer.

Fixes angular#38570
@petebacondarwin petebacondarwin added area: i18n Issues related to localization and internationalization engine: ivy action: review The PR is still awaiting reviews from at least one requested reviewer target: major This PR is targeted for the next major release type: bug/fix and removed cla: yes labels Aug 25, 2020
@googlebot
Copy link

☹️ Sorry, but only Googlers may change the label cla: yes.

@ngbot ngbot bot modified the milestone: needsTriage Aug 25, 2020
Copy link
Contributor

@AndrewKushnir AndrewKushnir left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@AndrewKushnir AndrewKushnir removed the action: review The PR is still awaiting reviews from at least one requested reviewer label Aug 25, 2020
@AndrewKushnir
Copy link
Contributor

@petebacondarwin, quick question: should this fix also go to the patch branch (this PR is currently marked as "master-only")?

@petebacondarwin
Copy link
Contributor Author

The message extraction is only on master

@petebacondarwin petebacondarwin added the action: merge The PR is ready for merge by the caretaker label Aug 25, 2020
@mhevery mhevery closed this in f0af387 Aug 25, 2020
@petebacondarwin petebacondarwin deleted the i18n-original-prop branch August 26, 2020 11:02
subratpalhar92 pushed a commit to SUBRATPALHAR-ALL-JAVASCRIPT/angular that referenced this pull request Aug 29, 2020
…ar#38575)

When extracting i18n messages from source code, the XLIFF
serializers were missing some required attributes on the `<file>`
element.

This commit re-introduces the `original` property to each of XLIFF 1.2
and 2.0 serializers. Also it adds in the required `id` property for the
XLIFF 2.0 seralizer.

Fixes angular#38570

PR Close angular#38575
subratpalhar92 added a commit to SUBRATPALHAR-ALL-JAVASCRIPT/angular that referenced this pull request Aug 31, 2020
profanis pushed a commit to profanis/angular that referenced this pull request Sep 5, 2020
…ar#38575)

When extracting i18n messages from source code, the XLIFF
serializers were missing some required attributes on the `<file>`
element.

This commit re-introduces the `original` property to each of XLIFF 1.2
and 2.0 serializers. Also it adds in the required `id` property for the
XLIFF 2.0 seralizer.

Fixes angular#38570

PR Close angular#38575
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 26, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge The PR is ready for merge by the caretaker area: i18n Issues related to localization and internationalization cla: yes target: major This PR is targeted for the next major release type: bug/fix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

localize-extract does not write 'original' attribute
3 participants