Serbian (Bosnia and Herzegovina) (sr-BA)
Complete reference for the sr-BA locale — live Intl API output, CLDR plural rules, and framework config snippets.
Référence de locale
Serbian (Bosnia and Herzegovina)
Métadonnées de la locale
Intl API Live Output
DateTimeFormat
NumberFormat
RelativeTimeFormat
Output for: -3 days ago
ListFormat
Conjunction list: apples, oranges, bananas
CLDR Plural Rules
Categories supported by sr-BA: one, few, other
13100Framework Config Snippets
// next-intl configuration
// next.config.ts
import createNextIntlPlugin from 'next-intl/plugin';
const withNextIntl = createNextIntlPlugin();
export default withNextIntl({});
// i18n/routing.ts
import { defineRouting } from 'next-intl/routing';
export const routing = defineRouting({
locales: ['sr-BA', 'en'],
defaultLocale: 'en',
});// react-intl configuration
import { IntlProvider } from 'react-intl';
import messages from './messages/sr-BA.json';
function App() {
return (
<IntlProvider locale="sr-BA" messages={messages}>
{/* your app */}
</IntlProvider>
);
}// i18next configuration
import 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;Related Locales
Serbian (Bosnia and Herzegovina) is supported by Better I18N
Add sr-BA to your project in seconds — no manual config required.
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.
ICU Playground
Test ICU message syntax with live preview, multi-locale output, and error explanations
File Converter
Convert between JSON, PO, XLIFF, ARB, YAML, CSV, Android XML, iOS Strings, and Properties
Cost Calculator
Estimate localization costs with side-by-side comparison of human, AI, and Better I18N pricing
Hreflang Generator
Generate and validate hreflang tags for multilingual SEO in HTML, XML sitemap, or HTTP headers