Skip to content

refactor(core): add internal API to enable i18n hydration#54784

Closed
devknoll wants to merge 1 commit intoangular:mainfrom
devknoll:x-i18n-hydration-feature
Closed

refactor(core): add internal API to enable i18n hydration#54784
devknoll wants to merge 1 commit intoangular:mainfrom
devknoll:x-i18n-hydration-feature

Conversation

@devknoll
Copy link
Contributor

@devknoll devknoll commented Mar 8, 2024

Add an internal API to enable and use i18n hydration for testing and development. This helps ensure that we don't accidentally break the current behavior until we are completely ready to roll out i18n support.

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • angular.io application / infrastructure changes
  • Other... Please describe:

What is the current behavior?

Issue Number: N/A

What is the new behavior?

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

@devknoll devknoll force-pushed the x-i18n-hydration-feature branch from 971dde2 to f95d3d8 Compare March 8, 2024 19:03
@devknoll devknoll marked this pull request as ready for review March 8, 2024 19:27
@pullapprove pullapprove bot requested review from AndrewKushnir and alxhub March 8, 2024 19:27
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.

@devknoll looks great, just one nit related to a function name.

@devknoll devknoll force-pushed the x-i18n-hydration-feature branch from f95d3d8 to 2ec2874 Compare March 9, 2024 02:20
@AndrewKushnir AndrewKushnir removed the request for review from alxhub March 9, 2024 02:29
@AndrewKushnir AndrewKushnir added area: i18n Issues related to localization and internationalization target: patch This PR is targeted for the next patch release action: presubmit The PR is in need of a google3 presubmit core: hydration labels Mar 9, 2024
@ngbot ngbot bot added this to the Backlog milestone Mar 9, 2024
@AndrewKushnir AndrewKushnir force-pushed the x-i18n-hydration-feature branch from 2ec2874 to 7fbf651 Compare March 9, 2024 03:02
@AndrewKushnir
Copy link
Contributor

Presubmit.

@AndrewKushnir AndrewKushnir force-pushed the x-i18n-hydration-feature branch from 7fbf651 to fd003bd Compare March 12, 2024 01:58
@AndrewKushnir
Copy link
Contributor

@devknoll FYI I've pushed a rebase to get the branch to the most up-to-date state (the branch was created at the time when CI was "red" for unrelated reasons), but the test CI job is still failing and the failure looks legit. Could you please take a look when you get a chance? Thank you.

@devknoll
Copy link
Contributor Author

Looks likely to be similar to the timing/ordering issues I ran into in #54823. I'll push an improved fix to this branch in the morning for you to review.

Thanks for the flag 👍

@devknoll devknoll force-pushed the x-i18n-hydration-feature branch from fd003bd to 01b7429 Compare March 12, 2024 15:17
@angular-robot angular-robot bot requested a review from AndrewKushnir March 12, 2024 15:17
Add an internal API to enable and use i18n hydration for testing and development. This helps ensure that we don't accidentally break the current behavior until we are completely ready to roll out i18n support.
@devknoll devknoll force-pushed the x-i18n-hydration-feature branch from 01b7429 to 9173666 Compare March 12, 2024 15:55
@AndrewKushnir
Copy link
Contributor

Presubmit.

@AndrewKushnir AndrewKushnir added action: merge The PR is ready for merge by the caretaker merge: caretaker note Alert the caretaker performing the merge to check the PR for an out of normal action needed or note and removed action: presubmit The PR is in need of a google3 presubmit labels Mar 12, 2024
@AndrewKushnir
Copy link
Contributor

Caretaker note: presubmit is "green", this PR is ready for merge.

atscott pushed a commit that referenced this pull request Mar 12, 2024
Add an internal API to enable and use i18n hydration for testing and development. This helps ensure that we don't accidentally break the current behavior until we are completely ready to roll out i18n support.

PR Close #54784
@atscott
Copy link
Contributor

atscott commented Mar 12, 2024

This PR was merged into the repository by commit 456f18b.

@atscott atscott closed this in 456f18b Mar 12, 2024
atscott pushed a commit that referenced this pull request Mar 12, 2024
Add an internal API to enable and use i18n hydration for testing and development. This helps ensure that we don't accidentally break the current behavior until we are completely ready to roll out i18n support.

PR Close #54784
@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 Apr 12, 2024
@devknoll devknoll deleted the x-i18n-hydration-feature branch April 12, 2024 01:19
henry-alakazhang pushed a commit to freelancer/angular that referenced this pull request Jun 19, 2024
)

Add an internal API to enable and use i18n hydration for testing and development. This helps ensure that we don't accidentally break the current behavior until we are completely ready to roll out i18n support.

PR Close angular#54784
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 core: hydration merge: caretaker note Alert the caretaker performing the merge to check the PR for an out of normal action needed or note target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants