Add Danish.

This commit is contained in:
Daniel Gent 2021-08-23 20:20:02 +02:00
parent fbf6e4af95
commit bdfd0cfc31
3 changed files with 8 additions and 1 deletions

View File

@ -14,6 +14,13 @@ interface LOCALE_DATA {
}
const LOCALES_MAP: Record<string, LOCALE_DATA> = {
dk: {
name: 'Dansk',
img: {
filename: 'flag-dk.png',
alt: 'dansk flag',
},
},
se: {
name: 'Svenska',
img: {

View File

@ -14,7 +14,7 @@ const isVendure = provider === 'vendure'
module.exports = withCommerceConfig({
commerce,
i18n: {
locales: ['en-US', 'se'],
locales: ['en-US', 'se', 'dk'],
defaultLocale: 'en-US',
},
rewrites() {

BIN
public/flag-dk.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB