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