Locale reference
Serbian (Bosnia and Herzegovina) (sr-BA)
Complete reference for the sr-BA locale — live Intl API output, CLDR plural rules, and framework config snippets.
01Locale metadata
Српски (Босна и Херцеговина)
- BCP 47 code
- sr-BA
- Native name
- Српски (Босна и Херцеговина)
- English name
- Serbian (Bosnia and Herzegovina)
- Language
- sr
- Region
- BA
- Script
- Cyrl
- Text direction
- Left-to-right (LTR)
- CLDR plural categories
- one, few, other
- Estimated speakers
- ~1,300,000
02Intl API Live Output
DateTimeFormat
- Short
- 4. 12. 2026.
- Medium
- 4. 12. 2026.
- Long
- 4. децембар 2026.
- Full
- петак, 4. децембар 2026.
NumberFormat
- Decimal
- 1.234.567,89
- Currency (USD)
- 9,99 US$
- Percent
- 75%
- Compact
- 1,2 мил.
RelativeTimeFormat
- -3 day
- прије 3 данаOutput for: -3 days ago
ListFormat
- Conjunction
- apples, oranges и bananasConjunction list: apples, oranges, bananas
Lefine
Serbian (Bosnia and Herzegovina) is supported by Lefine. Add sr-BA to your project in seconds — no manual config required.
CLDR
CLDR Plural Rules
Categories supported by sr-BA: one, few, other
- oneExample number: 1→ one
- fewExample number: 3→ few
- 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: ['sr-BA', 'en'], defaultLocale: 'en',});App.tsx
// react-intl configurationimport { IntlProvider } from 'react-intl';import messages from './messages/sr-BA.json'; function App() { return ( <IntlProvider locale="sr-BA" messages={messages}> {/* your app */} </IntlProvider> );}i18n.ts
// i18next configurationimport i18n from 'i18next';import { initReactI18next } from 'react-i18next'; i18n .use(initReactI18next) .init({ lng: 'sr-BA', fallbackLng: 'en', resources: { 'sr-BA': { translation: require('./locales/sr-BA/translation.json'), }, }, }); export default i18n;sr
Related Locales
More tools
More free i18n tools
Free tools for the rest of your i18n workflow: locale data, ICU messages, file formats and hreflang.
01