Référence de locale
Norwegian Bokmål (nb)
Complete reference for the nb locale — live Intl API output, CLDR plural rules, and framework config snippets.
01Métadonnées de la locale
Norsk bokmål
- Code BCP 47
- nb
- Nom natif
- Norsk bokmål
- Nom anglais
- Norwegian Bokmål
- Langue
- nb
- Région
- Aucune (locale de base)
- Écriture
- Latn
- Sens du texte
- De gauche à droite (LTR)
- Catégories de pluriel CLDR
- one, other
- Locuteurs estimés
- ~5,000,000
02Intl API Live Output
DateTimeFormat
- Short
- 04.12.2026
- Medium
- 4. des. 2026
- Long
- 4. desember 2026
- Full
- fredag 4. desember 2026
NumberFormat
- Decimal
- 1 234 567,89
- Currency (USD)
- 9,99 USD
- Percent
- 75 %
- Compact
- 1,2 mill.
RelativeTimeFormat
- -3 day
- for 3 døgn sidenOutput for: -3 days ago
ListFormat
- Conjunction
- apples, oranges og bananasConjunction list: apples, oranges, bananas
Lefine
Norwegian Bokmål is supported by Lefine. Add nb to your project in seconds — no manual config required.
CLDR
CLDR Plural Rules
Categories supported by nb: one, other
- oneExample number: 1→ one
- otherExample number: 100→ other
Config
Framework Config Snippets
next.config.ts · i18n/routing.ts
// next-intl configuration// next.config.tsimport createNextIntlPlugin from 'next-intl/plugin';const withNextIntl = createNextIntlPlugin();export default withNextIntl({}); // i18n/routing.tsimport { defineRouting } from 'next-intl/routing';export const routing = defineRouting({ locales: ['nb', 'en'], defaultLocale: 'en',});App.tsx
// react-intl configurationimport { IntlProvider } from 'react-intl';import messages from './messages/nb.json'; function App() { return ( <IntlProvider locale="nb" messages={messages}> {/* your app */} </IntlProvider> );}i18n.ts
// i18next configurationimport i18n from 'i18next';import { initReactI18next } from 'react-i18next'; i18n .use(initReactI18next) .init({ lng: 'nb', fallbackLng: 'en', resources: { 'nb': { translation: require('./locales/nb/translation.json'), }, }, }); export default i18n;Autres outils
D'autres outils i18n gratuits
Des outils gratuits pour le reste de votre workflow i18n : données de locale, messages ICU, formats de fichiers et hreflang.
01