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