Skip to content

English (South Africa)

English (South Africa) is one of the many supported locales in Faker. It uses the language code en_ZA and is available as fakerEN_ZA.

Language data

KeyValue
NameEnglish (South Africa)
Local NameEnglish (South Africa)
Languageen
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 { fakerEN_ZA } from '@faker-js/faker';
// const { fakerEN_ZA } = require('@faker-js/faker'); // CJS

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

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

Released under the MIT License.