Skip to content
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

Lib i18n must not allow to provide application to read resources #10417

Open
anatol-sialitski opened this issue Feb 13, 2024 · 1 comment
Open
Assignees
Labels
Milestone

Comments

@anatol-sialitski
Copy link
Contributor

anatol-sialitski commented Feb 13, 2024

Lib i18n must not allow to provide application to read resources

@rymsha
Copy link
Contributor

rymsha commented Feb 14, 2024

For similar reasons like in #10419 (comment) we will make an opposite change: remove applicationKey argument from localize method.

  • it is not a good idea to read localization messages from an app which is not even guaranteed to exist at the time localization is done (remember, there is no startup order)

it is a breaking change and will only be done in XP8

@anatol-sialitski anatol-sialitski changed the title Lib i18n must allow to specify application to read resources Lib i18n must does not allow to provide application to read resources Feb 15, 2024
@anatol-sialitski anatol-sialitski changed the title Lib i18n must does not allow to provide application to read resources Lib i18n must not allow to provide application to read resources Feb 15, 2024
@rymsha rymsha added this to the 8.0.0 milestone Mar 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants