Skip to content

Chinese (Taiwan)

Chinese (Taiwan) is one of the many supported locales in Faker. It uses the language code zh_TW and is available as fakerZH_TW.

Language data

KeyValue
NameChinese (Taiwan)
Local Name中文 (臺灣)
Languagezh
ScriptHant
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 { fakerZH_TW } from '@faker-js/faker';
// const { fakerZH_TW } = require('@faker-js/faker'); // CJS

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

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

Released under the MIT License.