Skip to content

Serbian (Serbia, Latin)

Serbian (Serbia, Latin) is one of the many supported locales in Faker. It uses the language code sr_RS_latin and is available as fakerSR_RS_latin.

Language data

KeyValue
NameSerbian (Serbia, Latin)
Local Namesrpski (Srbija, latinica)
Languagesr
ScriptLatn
Directionltr

Usage

A few commonly localized methods are shown below. Reload this page to see more random examples. Not all methods are localized in all locales.

ts
import { fakerSR_RS_latin } from '@faker-js/faker';
// const { fakerSR_RS_latin } = require('@faker-js/faker'); // CJS

// Commonly localized methods:
fakerSR_RS_latin.person.fullName();
fakerSR_RS_latin.location.streetAddress();
fakerSR_RS_latin.location.city();
fakerSR_RS_latin.location.state();
fakerSR_RS_latin.location.zipCode();
fakerSR_RS_latin.phone.number();
fakerSR_RS_latin.commerce.productName();
fakerSR_RS_latin.internet.email();
fakerSR_RS_latin.internet.url();
fakerSR_RS_latin.date.month();
fakerSR_RS_latin.date.weekday();
fakerSR_RS_latin.word.noun();
fakerSR_RS_latin.word.verb();
fakerSR_RS_latin.company.name();

// Non-localized methods work as normal:
fakerSR_RS_latin.number.int();

Released under the MIT License.