diff options
| author | Abrar Shahriar Adib <[email protected]> | 2025-03-17 01:42:59 +0600 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-03-16 20:42:59 +0100 |
| commit | fef0ad7859ff5994947c2c02afd6bdf13dffd234 (patch) | |
| tree | e5e1f133044cc018933c7181b18110a53009222c /src/locale | |
| parent | 50b3241629f6c314eb21af134a0b67dd3671ab33 (diff) | |
| download | faker-fef0ad7859ff5994947c2c02afd6bdf13dffd234.tar.xz faker-fef0ad7859ff5994947c2c02afd6bdf13dffd234.zip | |
feat(locale): Add bn_BD locale (#3439)
Diffstat (limited to 'src/locale')
| -rw-r--r-- | src/locale/bn_BD.ts | 25 | ||||
| -rw-r--r-- | src/locale/index.ts | 3 |
2 files changed, 28 insertions, 0 deletions
diff --git a/src/locale/bn_BD.ts b/src/locale/bn_BD.ts new file mode 100644 index 00000000..d8044e25 --- /dev/null +++ b/src/locale/bn_BD.ts @@ -0,0 +1,25 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ + +import { Faker } from '../faker'; +import base from '../locales/base'; +import bn_BD from '../locales/bn_BD'; +import en from '../locales/en'; + +/** + * The faker instance for the `bn_BD` locale. + * + * - Language: Bengali (Bangladesh) + * - Endonym: বাংলা (বাংলাদেশ) + * + * This instance uses the following locales internally (in descending precedence): + * + * - `bn_BD` + * - `en` + * - `base` + */ +export const faker = new Faker({ + locale: [bn_BD, en, base], +}); diff --git a/src/locale/index.ts b/src/locale/index.ts index cf1e6f50..2ef2120c 100644 --- a/src/locale/index.ts +++ b/src/locale/index.ts @@ -7,6 +7,7 @@ import { faker as fakerAF_ZA } from './af_ZA'; import { faker as fakerAR } from './ar'; import { faker as fakerAZ } from './az'; import { faker as fakerBASE } from './base'; +import { faker as fakerBN_BD } from './bn_BD'; import { faker as fakerCS_CZ } from './cs_CZ'; import { faker as fakerDA } from './da'; import { faker as fakerDE } from './de'; @@ -77,6 +78,7 @@ export { faker as fakerAF_ZA } from './af_ZA'; export { faker as fakerAR } from './ar'; export { faker as fakerAZ } from './az'; export { faker as fakerBASE } from './base'; +export { faker as fakerBN_BD } from './bn_BD'; export { faker as fakerCS_CZ } from './cs_CZ'; export { faker as fakerDA } from './da'; export { faker as fakerDE } from './de'; @@ -148,6 +150,7 @@ export const allFakers = { ar: fakerAR, az: fakerAZ, base: fakerBASE, + bn_BD: fakerBN_BD, cs_CZ: fakerCS_CZ, da: fakerDA, de: fakerDE, |
