Skip to content

Conversation

@rr-it
Copy link
Contributor

@rr-it rr-it commented Dec 16, 2025

Q A
Branch? 8.1
Bug fix? no
New feature? no
Deprecations? no
Issues Fix #...
License MIT

With this change a call to Translator::setFallbackLocales() will not clear the catalogues in case the current fallback locales are already equal to the newly to be set fallback locales.

Any regeneration of catalogues is computational expensive.

With this change a call to `Translator::setFallbackLocales()` will not clear the catalogues in case the current fallback locales are already equal to the newly to be set fallback locales.
@rr-it rr-it requested a review from welcoMattic as a code owner December 16, 2025 18:00
@carsonbot carsonbot changed the title Perf: Keep catalogues if fallback locales have no change Perf: Keep catalogues if fallback locales have no change Dec 16, 2025
@carsonbot carsonbot added this to the 8.1 milestone Dec 16, 2025
@carsonbot

This comment has been minimized.

@carsonbot carsonbot changed the title Perf: Keep catalogues if fallback locales have no change [Translation] Perf: Keep catalogues if fallback locales have no change Dec 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants