Skip to content

Slovenian (Slovenia)

Slovenian (Slovenia) is one of the many supported locales in Faker. It uses the language code sl_SI and is available as fakerSL_SI.

Language data

KeyValue
NameSlovenian (Slovenia)
Local NameSlovensko (Slovenia)
Languagesl
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 { fakerSL_SI } from '@faker-js/faker';
// const { fakerSL_SI } = require('@faker-js/faker'); // CJS

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

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

Released under the MIT License.