Skip to content

Welsh

Welsh is one of the many supported locales in Faker. It uses the language code cy and is available as fakerCY.

Language data

KeyValue
NameWelsh
Local NameCymraeg
Languagecy
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 { fakerCY } from '@faker-js/faker';
// const { fakerCY } = require('@faker-js/faker'); // CJS

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

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

Released under the MIT License.