Skip to content

Commit

Permalink
fix(#6490): add language map to the middleware config (#6503)
Browse files Browse the repository at this point in the history
* Add `languageMap` to middleware config

* Add changelog

* Update changelog
  • Loading branch information
lsliwaradioluz authored Nov 2, 2021
1 parent fdeea68 commit 58faa05
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/commercetools/theme/middleware.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,11 @@ module.exports = {
]
},
currency: 'USD',
country: 'US'
country: 'US',
languageMap: {
en: ['en', 'de'],
de: ['de', 'en']
}
}
}
}
Expand Down
8 changes: 8 additions & 0 deletions packages/core/docs/core/changelog/6491.js
Original file line number Diff line number Diff line change
@@ -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'
};

0 comments on commit 58faa05

Please sign in to comment.