diff --git a/packages/commercetools/theme/middleware.config.js b/packages/commercetools/theme/middleware.config.js index ac0d8ffae3..ea7c995825 100644 --- a/packages/commercetools/theme/middleware.config.js +++ b/packages/commercetools/theme/middleware.config.js @@ -30,7 +30,11 @@ module.exports = { ] }, currency: 'USD', - country: 'US' + country: 'US', + languageMap: { + en: ['en', 'de'], + de: ['de', 'en'] + } } } } diff --git a/packages/core/docs/core/changelog/6491.js b/packages/core/docs/core/changelog/6491.js new file mode 100644 index 0000000000..b7feb5d989 --- /dev/null +++ b/packages/core/docs/core/changelog/6491.js @@ -0,0 +1,8 @@ +module.exports = { + description: 'Add language map to the middleware config', + link: 'https://github.com/vuestorefront/vue-storefront/pull/6491', + isBreaking: false, + breakingChanges: [], + author: 'Łukasz Śliwa', + linkToGitHubAccount: 'https://github.com/lsliwaradioluz' +};