Bengali (Bangladesh)
Bengali (Bangladesh) is one of the many supported locales in Faker. It uses the language code bn_BD and is available as fakerBN_BD.
Language data
| Key | Value |
|---|---|
| Name | Bengali (Bangladesh) |
| Local Name | বাংলা (বাংলাদেশ) |
| Language | bn |
| Script | Beng |
| Direction | ltr |
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 { fakerBN_BD } from '@faker-js/faker';
// const { fakerBN_BD } = require('@faker-js/faker'); // CJS
// Commonly localized methods:
fakerBN_BD.person.fullName();
fakerBN_BD.location.streetAddress();
fakerBN_BD.location.city();
fakerBN_BD.location.state();
fakerBN_BD.location.zipCode();
fakerBN_BD.phone.number();
fakerBN_BD.commerce.productName();
fakerBN_BD.internet.email();
fakerBN_BD.internet.url();
fakerBN_BD.date.month();
fakerBN_BD.date.weekday();
fakerBN_BD.word.noun();
fakerBN_BD.word.verb();
fakerBN_BD.company.name();
// Non-localized methods work as normal:
fakerBN_BD.number.int();