aboutsummaryrefslogtreecommitdiff
path: root/src/locale
diff options
context:
space:
mode:
authorVongsapat Bandhuprabhasa <[email protected]>2023-04-02 18:28:49 +0700
committerGitHub <[email protected]>2023-04-02 11:28:49 +0000
commit3c176b23c908cea57a1a0a6c3b7fca86a39989ab (patch)
tree75763dd82651da792f6f72c762db8f6aadd9048d /src/locale
parentcaf58d909feedf6678ce08ea6b870ae57603a621 (diff)
downloadfaker-3c176b23c908cea57a1a0a6c3b7fca86a39989ab.tar.xz
faker-3c176b23c908cea57a1a0a6c3b7fca86a39989ab.zip
feat(locale): add locale TH (#1922)
Diffstat (limited to 'src/locale')
-rw-r--r--src/locale/index.ts3
-rw-r--r--src/locale/th.ts13
2 files changed, 16 insertions, 0 deletions
diff --git a/src/locale/index.ts b/src/locale/index.ts
index 425101b3..2a236260 100644
--- a/src/locale/index.ts
+++ b/src/locale/index.ts
@@ -57,6 +57,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 fakerTH } from './th';
import { faker as fakerTR } from './tr';
import { faker as fakerUK } from './uk';
import { faker as fakerUR } from './ur';
@@ -120,6 +121,7 @@ export {
fakerSK,
fakerSR_RS_latin,
fakerSV,
+ fakerTH,
fakerTR,
fakerUK,
fakerUR,
@@ -184,6 +186,7 @@ export const allFakers = {
sk: fakerSK,
sr_RS_latin: fakerSR_RS_latin,
sv: fakerSV,
+ th: fakerTH,
tr: fakerTR,
uk: fakerUK,
ur: fakerUR,
diff --git a/src/locale/th.ts b/src/locale/th.ts
new file mode 100644
index 00000000..73ff56ad
--- /dev/null
+++ b/src/locale/th.ts
@@ -0,0 +1,13 @@
+/*
+ * 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 th from '../locales/th';
+
+export const faker = new Faker({
+ locale: [th, en, base],
+});