Skip to content

Latvian ​

Latvian is one of the many supported locales in Faker. It uses the language code lv and is available as fakerLV.

Language data ​

KeyValue
NameLatvian
Local Namelatviešu valoda
Languagelv
ScriptLatn
Directionltr

Usage ​

A few commonly localized methods are shown below. Click the refresh button to see more random examples. Not all methods are localized in all locales.

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

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

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

Released under the MIT License.