diff options
| author | Pradeeep G <[email protected]> | 2025-04-10 23:32:43 +0530 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-04-10 20:02:43 +0200 |
| commit | cdf6dc4a973b8e64069f8b8d98e6921188f08575 (patch) | |
| tree | d396f3906b184b55c108ef6eae15873428c8dfa3 /src/locale | |
| parent | e2efa601b3f073cbca68fa0d396acbace685a1ce (diff) | |
| download | faker-cdf6dc4a973b8e64069f8b8d98e6921188f08575.tar.xz faker-cdf6dc4a973b8e64069f8b8d98e6921188f08575.zip | |
feat(locale): add Tamil language support (#3468)
Diffstat (limited to 'src/locale')
| -rw-r--r-- | src/locale/index.ts | 3 | ||||
| -rw-r--r-- | src/locale/ta_IN.ts | 25 |
2 files changed, 28 insertions, 0 deletions
diff --git a/src/locale/index.ts b/src/locale/index.ts index 2ef2120c..b067b6ff 100644 --- a/src/locale/index.ts +++ b/src/locale/index.ts @@ -63,6 +63,7 @@ import { faker as fakerRU } from './ru'; import { faker as fakerSK } from './sk'; import { faker as fakerSR_RS_latin } from './sr_RS_latin'; import { faker as fakerSV } from './sv'; +import { faker as fakerTA_IN } from './ta_IN'; import { faker as fakerTH } from './th'; import { faker as fakerTR } from './tr'; import { faker as fakerUK } from './uk'; @@ -134,6 +135,7 @@ export { faker as fakerRU } from './ru'; export { faker as fakerSK } from './sk'; export { faker as fakerSR_RS_latin } from './sr_RS_latin'; export { faker as fakerSV } from './sv'; +export { faker as fakerTA_IN } from './ta_IN'; export { faker as fakerTH } from './th'; export { faker as fakerTR } from './tr'; export { faker as fakerUK } from './uk'; @@ -206,6 +208,7 @@ export const allFakers = { sk: fakerSK, sr_RS_latin: fakerSR_RS_latin, sv: fakerSV, + ta_IN: fakerTA_IN, th: fakerTH, tr: fakerTR, uk: fakerUK, diff --git a/src/locale/ta_IN.ts b/src/locale/ta_IN.ts new file mode 100644 index 00000000..79092b9a --- /dev/null +++ b/src/locale/ta_IN.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 en from '../locales/en'; +import ta_IN from '../locales/ta_IN'; + +/** + * The faker instance for the `ta_IN` locale. + * + * - Language: Tamil (India) + * - Endonym: தமிழ் (இந்தியா) + * + * This instance uses the following locales internally (in descending precedence): + * + * - `ta_IN` + * - `en` + * - `base` + */ +export const faker = new Faker({ + locale: [ta_IN, en, base], +}); |
