title | issue |
---|---|
Reset translator's cache after switching theme |
NEXT-23923 |
- Changed
\Shopware\Storefront\Theme\CachedResolvedConfigLoaderInvalidator::assigned
to invalidate translator cache after switching themes of a sales channel - Changed
\Shopware\Core\Framework\Adapter\Translation\TranslatorCacheInvalidate::clearCache
to useCacheInvalidator::invalidate
instead ofCacheItemPoolInterface::deleteItem
- Changed
\Shopware\Core\Framework\Adapter\Translation\Translator::loadSnippets
to considersalesChannelId
in cache key when caching translator