-
Notifications
You must be signed in to change notification settings - Fork 12k
feat(@angular-devkit/build-angular): expose i18nDuplicateTranslation … #22209
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
Conversation
packages/angular_devkit/build_angular/src/utils/build-options.ts
Outdated
Show resolved
Hide resolved
bcaf274
to
fea0498
Compare
I feel that I will need some extra guidance on this one :) @alan-agius4 @petebacondarwin @alxhub your advice/feedback would be very appreciated. Duplicate and missing translations are handled differently, and it makes sense:
To handle missing translations Meanwhile, duplicate translation handling (or loading of translations itself) is duplicated (pun intended):
Couple of questions:
|
Hi @minijus, Sorry for taking so long to get back to you.
If that is possible, sure! But, I suspect it's not as straightforward.
If not, I assume that we can just change the
|
@minijus, is this something that you still want to spear head? |
@alan-agius4 - yes, absolutely. We have a custom I can close this draft PR and open it once it is ready for review if you want to keep PR list clean. |
packages/angular_devkit/build_angular/src/utils/i18n-options.ts
Outdated
Show resolved
Hide resolved
packages/angular_devkit/build_angular/src/utils/i18n-options.ts
Outdated
Show resolved
Hide resolved
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.
Thanks for this!!! A couple of small NITS.
Can you please add a test? Maybe amend https://github.com/angular/angular-cli/blob/master/tests/legacy-cli/e2e/tests/i18n/ivy-localize-merging.ts? and amend the commit message to include Closes #22201
as the footer?
…option of browser and server builders Closes angular#22201
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
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. |
…option of browser and server builders
Closes #22201