Releases: spryker/locale
Releases · spryker/locale
4.9.0
Included commits: 4.8.0...4.9.0
Improvements
- Introduced
LocaleConstants::IS_STORE_ROUTING_ENABLED
. - Introduced
LocaleConfig::isStoreRoutingEnabled()
method to return true if the store routing is enabled. - Introduced
LocaleConfig::getLocaleCodeIndex()
method to return the index of the locale code in the URL. - Adjusted
LocaleLocalePlugin::getLocaleTransfer()
so now it uses the config methodLocaleConfig::getLocaleCodeIndex()
for extracting locale code from URL.
4.8.0
Included commits: 4.7.0...4.8.0
Fixes
- Adjusted
LocaleFacade::expandStoreTransfersWithLocales()
to index available locales by short name before adding them intoStoreTransfer
to have the same structure in Dynamic Multistore OFF and ON modes.
4.7.0
Included commits: 4.6.0...4.7.0
Improvements
- Adjusted
DefaultLocaleStorePostCreatePlugin
,DefaultLocaleStorePostUpdatePlugin
,LocaleFacade::expandStoreTransfersWithLocales()
andLocaleFacade::updateStoreLocales()
to fix Dynamic Multistore ON/OFF inconsistencies.
4.6.0
4.5.1
4.5.0
Included commits: 4.4.0...4.5.0
Improvements
- Adjusted
LocaleApplicationPlugin
to negotiate language iso code if the default locale based on the current store is not available.
4.4.0
Included commits: 4.3.0...4.4.0
Improvements
- Adjusted
LocaleApplicationPlugin::provide()
so it sets the default locale based on the current store default locale whenaccept-language
header is not provided. - Added
StoreClientInterface::getCurrentStore()
to dependencies.
4.3.0
Included commits: 4.2.0...4.3.0
Improvements
- Adjusted
LocaleFacade::getCurrentLocaleName()
so now it returns the locale name for the first store from DB if thecurrent
store is not provided.
4.2.0
Included commits: 4.1.0...4.2.0
Improvements
- Introduced
LocaleServiceInterface::getAcceptLanguage()
to negotiated language ISO code based on the specified accept language and priorities. - Introduced
AcceptLanguage
transfer. - Adjusted
LocaleApplicationPlugin
to negotiate language iso code based onAccept-Language
header.
Adjustments
- Added
LocaleToLanguageNegotiatorInterface::getAcceptLanguage()
to dependencies to provide functionality to get negotiated language iso code based onAccept-Language
header. - Added
WilldurandNegotiation
module to dependencies. - Increased
Transfer
module version dependency. - Removed
LocaleToStoreClientInterface::getCurrentStore()
from dependencies.
3.10.0
Included commits: 3.9.0...3.10.0
Improvements
- Introduced
LocaleServiceInterface::getAcceptLanguage()
to negotiated language ISO code based on the specified accept language and priorities. - Introduced
AcceptLanguage
transfer.
Adjustments
- Added
LocaleToLanguageNegotiatorInterface::getAcceptLanguage()
to dependencies to provide functionality to get negotiated language iso code based onAccept-Language
header. - Added
WilldurandNegotiation
module to dependencies. - Increased
Transfer
module version dependency.