Skip to content

Afrikaans (South Africa)

Afrikaans (South Africa) is one of the many supported locales in Faker. It uses the language code af_ZA and is available as fakerAF_ZA.

Language data

KeyValue
NameAfrikaans (South Africa)
Local NameAfrikaans (Suid-Afrika)
Languageaf
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 { fakerAF_ZA } from '@faker-js/faker';
// const { fakerAF_ZA } = require('@faker-js/faker'); // CJS

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

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

Released under the MIT License.