Locale referansı
Serbian (sr)
Complete reference for the sr locale — live Intl API output, CLDR plural rules, and framework config snippets.
01Locale bilgileri
Српски
- BCP 47 kodu
- sr
- Yerel ad
- Српски
- İngilizce ad
- Serbian
- Dil
- sr
- Bölge
- Yok (temel locale)
- Yazı sistemi
- Cyrl
- Yazı yönü
- Soldan sağa (LTR)
- CLDR çoğul kategorileri
- one, few, other
- Tahmini konuşur sayısı
- ~12,000,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 is supported by Lefine. Add sr to your project in seconds — no manual config required.
CLDR
CLDR Plural Rules
Categories supported by sr: 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', 'en'], defaultLocale: 'en',});App.tsx
// react-intl configurationimport { IntlProvider } from 'react-intl';import messages from './messages/sr.json'; function App() { return ( <IntlProvider locale="sr" messages={messages}> {/* your app */} </IntlProvider> );}i18n.ts
// i18next configurationimport i18n from 'i18next';import { initReactI18next } from 'react-i18next'; i18n .use(initReactI18next) .init({ lng: 'sr', fallbackLng: 'en', resources: { 'sr': { translation: require('./locales/sr/translation.json'), }, }, }); export default i18n;sr
Related Locales
Diğer araçlar
Diğer ücretsiz i18n araçları
i18n akışının geri kalanı için ücretsiz araçlar: locale verileri, ICU mesajları, dosya biçimleri ve hreflang.
01