From 05b1089b5b89c42af5f2695971bae6df7806f430 Mon Sep 17 00:00:00 2001 From: Runar Ingebrigtsen Date: Sun, 1 Feb 2026 01:34:09 +0100 Subject: [PATCH] add nb config, available in UI Signed-off-by: Runar Ingebrigtsen --- src/i18n/i18n.config.ts | 2 ++ src/nuxt.config.ts | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/src/i18n/i18n.config.ts b/src/i18n/i18n.config.ts index 04d35348..b3d3c740 100644 --- a/src/i18n/i18n.config.ts +++ b/src/i18n/i18n.config.ts @@ -15,6 +15,7 @@ import tr from './locales/tr.json'; import bn from './locales/bn.json'; import id from './locales/id.json'; import nl from './locales/nl.json'; +import nb from './locales/nb.json'; export default defineI18nConfig(() => ({ legacy: false, @@ -37,5 +38,6 @@ export default defineI18nConfig(() => ({ bn, id, nl, + nb, }, })); diff --git a/src/nuxt.config.ts b/src/nuxt.config.ts index ad79a446..edf429b1 100644 --- a/src/nuxt.config.ts +++ b/src/nuxt.config.ts @@ -114,6 +114,11 @@ export default defineNuxtConfig({ language: 'nl-NL', name: 'Nederlands', }, + { + code: 'nb', + language: 'nb-NO', + name: 'Norsk bokmål', + }, ], defaultLocale: 'en', vueI18n: './i18n.config.ts',