Polish
Polish is one of the many supported locales in Faker. It uses the language code pl and is available as fakerPL.
Language data
| Key | Value |
|---|---|
| Name | Polish |
| Local Name | Polski |
| Language | pl |
| Script | Latn |
| Direction | ltr |
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 { fakerPL } from '@faker-js/faker';
// const { fakerPL } = require('@faker-js/faker'); // CJS
// Commonly localized methods:
fakerPL.person.fullName();
fakerPL.location.streetAddress();
fakerPL.location.city();
fakerPL.location.state();
fakerPL.location.zipCode();
fakerPL.phone.number();
fakerPL.commerce.productName();
fakerPL.internet.email();
fakerPL.internet.url();
fakerPL.date.month();
fakerPL.date.weekday();
fakerPL.word.noun();
fakerPL.word.verb();
fakerPL.company.name();
// Non-localized methods work as normal:
fakerPL.number.int();