-
Notifications
You must be signed in to change notification settings - Fork 26.3k
fix(localize): merge XLIFF translation file <file>
elements
#35936
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(localize): merge XLIFF translation file <file>
elements
#35936
Conversation
0e64522
to
7dff90c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks for the fixes @petebacondarwin! 👍
Just left a couple minor nits, otherwise looks great.
...e/src/tools/src/translate/translation_files/translation_parsers/xliff1_translation_parser.ts
Outdated
Show resolved
Hide resolved
...tools/test/translate/translation_files/translation_parsers/xliff1_translation_parser_spec.ts
Outdated
Show resolved
Hide resolved
b695099
to
c6c88bd
Compare
XLIFF translation files can contain multiple `<file>` elements, each of which contains translations. In ViewEngine all these translations are merged into a single translation bundle. Previously in Ivy only the translations from the last `<file>` element were being loaded. Now all the translations from each `<file>` are merged into a single translation bundle. Fixes angular#35839
c6c88bd
to
cd169fb
Compare
…5936) XLIFF translation files can contain multiple `<file>` elements, each of which contains translations. In ViewEngine all these translations are merged into a single translation bundle. Previously in Ivy only the translations from the last `<file>` element were being loaded. Now all the translations from each `<file>` are merged into a single translation bundle. Fixes #35839 PR Close #35936
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Fixes #35839
// FW-1980