title | issue |
---|---|
Add LanguageLocaleProvider |
NEXT-10606 |
- Added
\Shopware\Core\System\Locale\LanguageLocaleCodeProvider
to fetch locales for languageIds. - Changed
\Shopware\Core\Content\Flow\Dispatching\Action\SendMailAction
to use newLanguageLocaleCodeProvider
, instead of fetching locales manually. - Changed
\Shopware\Core\Content\MailTemplate\Subscriber\MailSendSubscriber
to use newLanguageLocaleCodeProvider
, instead of fetching locales manually. - Changed
\Shopware\Core\Content\Product\Cart\ProductFeatureBuilder
to use newLanguageLocaleCodeProvider
, instead of fetching locales manually. - Changed
\Shopware\Core\Content\ProductExport\ScheduledTask\ProductExportPartialGenerationHandler
to use newLanguageLocaleCodeProvider
, instead of fetching locales manually. - Changed
\Shopware\Core\Content\ProductExport\Service\ProductExportGenerator
to use newLanguageLocaleCodeProvider
, instead of fetching locales manually. - Changed
\Shopware\Core\Framework\Adapter\Translation\Translator
to use newLanguageLocaleCodeProvider
, instead of fetching locales manually. - Changed
\Shopware\Core\Framework\App\AppLocaleProvider
to use newLanguageLocaleCodeProvider
, instead of fetching locales manually. - Changed
\Shopware\Core\Framework\Store\Services\ExtensionLoader
to use newLanguageLocaleCodeProvider
, instead of fetching locales manually. - Changed
\Shopware\Core\System\Currency\CurrencyFormatter
to use newLanguageLocaleCodeProvider
, instead of fetching locales manually. - Deprecated the protected properties in
\Shopware\Core\Framework\Context
, because they will be natively typed in the future. If you extend theContext
class make sure to adhere to type constraints for those properties
The properties of \Shopware\Core\Framework\Context
will be natively typed in the future.
If you extend the Context
make sure your implementations adheres to the type constraints for the protected properties.