Skip to content

Commit 5794b5f

Browse files
Update docs/en/core-libraries/internationalization-and-localization.md
Co-authored-by: Mark Story <mark@mark-story.com>
1 parent 54fae03 commit 5794b5f

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

docs/en/core-libraries/internationalization-and-localization.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -568,13 +568,7 @@ I18n::config('_fallback', function ($domain, $locale) {
568568
The cache key prefix and configurable cache config APIs were added in 5.4.0.
569569
:::
570570

571-
When a single application serves multiple tenants and a custom loader produces
572-
different messages for the same domain and locale per tenant, the default
573-
translator cache will mix tenants together — the persistent cache key
574-
(`translations.{domain}.{locale}`) and the in-memory registry don't know about
575-
tenants.
576-
577-
Two small APIs solve this without introducing global tenant state.
571+
If your application needs to serve tenant specific translated content for a given domain & locale, you need to use a cache key prefix to scope both translator cache data to the tenant.
578572

579573
#### Cache Key Prefix
580574

0 commit comments

Comments
 (0)