Skip to content

English (Ghana)

English (Ghana) is one of the many supported locales in Faker. It uses the language code en_GH and is available as fakerEN_GH.

Language data

KeyValue
NameEnglish (Ghana)
Local NameEnglish (Ghana)
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_GH } from '@faker-js/faker';
// const { fakerEN_GH } = require('@faker-js/faker'); // CJS

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

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

Released under the MIT License.