diff --git a/components/common/I18nWidget/I18nWidget.tsx b/components/common/I18nWidget/I18nWidget.tsx index 90f505dc0..5d3fca744 100644 --- a/components/common/I18nWidget/I18nWidget.tsx +++ b/components/common/I18nWidget/I18nWidget.tsx @@ -14,6 +14,13 @@ interface LOCALE_DATA { } const LOCALES_MAP: Record = { + dk: { + name: 'Dansk', + img: { + filename: 'flag-dk.png', + alt: 'dansk flag', + }, + }, se: { name: 'Svenska', img: { diff --git a/next.config.js b/next.config.js index 1d8c2e363..23aa270a4 100644 --- a/next.config.js +++ b/next.config.js @@ -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() { diff --git a/public/flag-dk.png b/public/flag-dk.png new file mode 100644 index 000000000..e711f41d0 Binary files /dev/null and b/public/flag-dk.png differ