Skip to content

Releases: spryker/locale

4.9.0

28 Nov 15:42
Compare
Choose a tag to compare

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 method LocaleConfig::getLocaleCodeIndex() for extracting locale code from URL.

4.8.0

14 Oct 15:09
Compare
Choose a tag to compare

Included commits: 4.7.0...4.8.0

Fixes

  • Adjusted LocaleFacade::expandStoreTransfersWithLocales() to index available locales by short name before adding them into StoreTransfer to have the same structure in Dynamic Multistore OFF and ON modes.

4.7.0

02 Aug 09:33
Compare
Choose a tag to compare

Included commits: 4.6.0...4.7.0

Improvements

  • Adjusted DefaultLocaleStorePostCreatePlugin, DefaultLocaleStorePostUpdatePlugin, LocaleFacade::expandStoreTransfersWithLocales() and LocaleFacade::updateStoreLocales() to fix Dynamic Multistore ON/OFF inconsistencies.

4.6.0

06 May 14:04
Compare
Choose a tag to compare

Included commits: 4.5.1...4.6.0

Improvements

  • Added PHPStan 1.10.* support.

4.5.1

20 Mar 09:29
Compare
Choose a tag to compare

Included commits: 4.5.0...4.5.1

Fixes

  • Adjusted LocaleApplicationPlugin to use dependency for store.

4.5.0

12 Feb 09:31
Compare
Choose a tag to compare

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

01 Feb 14:45
Compare
Choose a tag to compare

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 when accept-language header is not provided.
  • Added StoreClientInterface::getCurrentStore() to dependencies.

4.3.0

31 Jan 09:30
Compare
Choose a tag to compare

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 the current store is not provided.

4.2.0

17 Oct 16:12
Compare
Choose a tag to compare

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 on Accept-Language header.

Adjustments

  • Added LocaleToLanguageNegotiatorInterface::getAcceptLanguage() to dependencies to provide functionality to get negotiated language iso code based on Accept-Language header.
  • Added WilldurandNegotiation module to dependencies.
  • Increased Transfer module version dependency.
  • Removed LocaleToStoreClientInterface::getCurrentStore() from dependencies.

3.10.0

17 Oct 18:08
Compare
Choose a tag to compare

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 on Accept-Language header.
  • Added WilldurandNegotiation module to dependencies.
  • Increased Transfer module version dependency.