Skip to content

Commit f7471a2

Browse files
authored
feat(locale): add uzbek locale (uz_UZ_latin) (#2686)
1 parent c52ec8a commit f7471a2

16 files changed

+926
-0
lines changed

docs/guide/localization.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ In this example there are 5 locales. Each of these is checked in order, and the
137137
| `tr` | Turkish | `fakerTR` |
138138
| `uk` | Ukrainian | `fakerUK` |
139139
| `ur` | Urdu | `fakerUR` |
140+
| `uz_UZ_latin` | Uzbek (Uzbekistan, Latin) | `fakerUZ_UZ_latin` |
140141
| `vi` | Vietnamese | `fakerVI` |
141142
| `yo_NG` | Yoruba (Nigeria) | `fakerYO_NG` |
142143
| `zh_CN` | Chinese (China) | `fakerZH_CN` |

src/locale/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ import { faker as fakerTH } from './th';
6666
import { faker as fakerTR } from './tr';
6767
import { faker as fakerUK } from './uk';
6868
import { faker as fakerUR } from './ur';
69+
import { faker as fakerUZ_UZ_latin } from './uz_UZ_latin';
6970
import { faker as fakerVI } from './vi';
7071
import { faker as fakerYO_NG } from './yo_NG';
7172
import { faker as fakerZH_CN } from './zh_CN';
@@ -136,6 +137,7 @@ export {
136137
fakerTR,
137138
fakerUK,
138139
fakerUR,
140+
fakerUZ_UZ_latin,
139141
fakerVI,
140142
fakerYO_NG,
141143
fakerZH_CN,
@@ -207,6 +209,7 @@ export const allFakers = {
207209
tr: fakerTR,
208210
uk: fakerUK,
209211
ur: fakerUR,
212+
uz_UZ_latin: fakerUZ_UZ_latin,
210213
vi: fakerVI,
211214
yo_NG: fakerYO_NG,
212215
zh_CN: fakerZH_CN,

src/locale/uz_UZ_latin.ts

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
/*
2+
* This file is automatically generated.
3+
* Run 'pnpm run generate:locales' to update.
4+
*/
5+
6+
import { Faker } from '../faker';
7+
import base from '../locales/base';
8+
import en from '../locales/en';
9+
import uz_UZ_latin from '../locales/uz_UZ_latin';
10+
11+
export const faker = new Faker({
12+
locale: [uz_UZ_latin, en, base],
13+
});

src/locales/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ export { default as th } from './th';
6666
export { default as tr } from './tr';
6767
export { default as uk } from './uk';
6868
export { default as ur } from './ur';
69+
export { default as uz_UZ_latin } from './uz_UZ_latin';
6970
export { default as vi } from './vi';
7071
export { default as yo_NG } from './yo_NG';
7172
export { default as zh_CN } from './zh_CN';

src/locales/uz_UZ_latin/index.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
/*
2+
* This file is automatically generated.
3+
* Run 'pnpm run generate:locales' to update.
4+
*/
5+
import type { LocaleDefinition } from '../..';
6+
import metadata from './metadata';
7+
import person from './person';
8+
9+
const uz_UZ_latin: LocaleDefinition = {
10+
metadata,
11+
person,
12+
};
13+
14+
export default uz_UZ_latin;

src/locales/uz_UZ_latin/metadata.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import type { PreBuiltMetadataDefinitionForCountry } from '../../definitions/metadata';
2+
3+
const metadata: PreBuiltMetadataDefinitionForCountry = {
4+
title: 'Uzbek (Uzbekistan, Latin)',
5+
code: 'uz_UZ_latin',
6+
country: 'UZ',
7+
language: 'uz',
8+
variant: 'latin',
9+
endonym: "O'zbekcha",
10+
dir: 'ltr',
11+
script: 'Latn',
12+
};
13+
14+
export default metadata;
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
export default [
2+
'bitiruvchi',
3+
'biznes egasi',
4+
'blogger',
5+
'do‘st',
6+
'dizayner',
7+
'dasturchi',
8+
'ekolog',
9+
'faoliyatchi',
10+
'falsafachi',
11+
'film ishqibi',
12+
'fotoqrafer',
13+
'geymer',
14+
'ilmshunos',
15+
'jamolchi',
16+
'kinorejissyor',
17+
'model',
18+
'muallif',
19+
'mualim',
20+
'muhandis',
21+
'musiqachi',
22+
'o‘ila odobi',
23+
'o‘qituvchi',
24+
'o‘yinchim',
25+
'odam',
26+
'qo‘shiqchi',
27+
'rivojlanuvchi',
28+
"san'atkor",
29+
'sayahatchi',
30+
'strimer',
31+
'tadbirkor',
32+
'talaba',
33+
'tayyorlashchi',
34+
'tuzuvchi',
35+
'vatanparvar',
36+
'veteran',
37+
];
Lines changed: 135 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,135 @@
1+
export default [
2+
'Adiba',
3+
'Afzuna',
4+
'Afruza',
5+
'Akifa',
6+
'Alima',
7+
'Anora',
8+
'Asal',
9+
'Asila',
10+
'Asliya',
11+
'Asolat',
12+
'Aziza',
13+
'Barchinoy',
14+
'Barno',
15+
'Begoyim',
16+
'Binafsha',
17+
'Davriya',
18+
'Dilafruz',
19+
'Dilbar',
20+
'Dildora',
21+
'Dilfuza',
22+
'Dilnoza',
23+
'Dilorom',
24+
'Dilrabo',
25+
'Dilso‘z',
26+
'Diyora',
27+
'Durdona',
28+
'E’zoza',
29+
'Fazilat',
30+
'Farangiz',
31+
'Farida',
32+
'Feruza',
33+
'Fotima',
34+
'Gavxar',
35+
'Gulbaxor',
36+
'Gulchexra',
37+
'Guljamol',
38+
'Guljaxon',
39+
'Gulnoza',
40+
'Gulnora',
41+
'Guloy',
42+
'Gulsora',
43+
'Gulzira',
44+
'Gulzoda',
45+
'Hanifa',
46+
'Halima',
47+
'Hilola',
48+
'Hosiyat',
49+
'Hurshida',
50+
'Husida',
51+
'Husnida',
52+
'Husniya',
53+
'Husnora',
54+
'Iffar',
55+
'Ifora',
56+
'Iroda',
57+
'Jamila',
58+
'Jasmina',
59+
'Jumagul',
60+
'Kamola',
61+
'Karima',
62+
'Komila',
63+
'Kumush',
64+
'Latofat',
65+
'Laylo',
66+
'Lobar',
67+
'Lola',
68+
'Lutfiya',
69+
'Madina',
70+
'Malika',
71+
'Maloxat',
72+
'Mashxura',
73+
'Mavluda',
74+
'Maxbuba',
75+
'Maxfuza',
76+
'Maxsuma',
77+
'Moxigul',
78+
'Moxidil',
79+
'Moxina',
80+
'Moxinur',
81+
'Moxira',
82+
'Muazzam',
83+
'Muattar',
84+
'Mubina',
85+
'Muyassar',
86+
'Nafisa',
87+
'Nargiza',
88+
'Nasiba',
89+
'Nigora',
90+
'Nilufar',
91+
'Nodira',
92+
'Noila',
93+
'Nozima',
94+
'Omina',
95+
'Orzu',
96+
'Oyga',
97+
'Oysha',
98+
'Ozoda',
99+
'Oynur',
100+
'Qizilgul',
101+
'Ramziya',
102+
'Rasifa',
103+
'Ra’no',
104+
'Rayona',
105+
'Rayxona',
106+
'Robiya',
107+
'Roziya',
108+
'Saboxat',
109+
'Saboxon',
110+
'Sadoqat',
111+
'Saida',
112+
'Samina',
113+
'Samira',
114+
'Samiya',
115+
'Sanobar',
116+
'Saodat',
117+
'Sarvinoz',
118+
'Saxida',
119+
'Sayyora',
120+
'Sevara',
121+
'Safiya',
122+
'Safura',
123+
'Skipped',
124+
'Suyuna',
125+
'Tug‘ol',
126+
'Uqbaloy',
127+
'Umida',
128+
'Uzbegim',
129+
'Vasliddin',
130+
'Waqila',
131+
'Xalima',
132+
'Yozida',
133+
'Zilola',
134+
'Zuxra',
135+
];

0 commit comments

Comments
 (0)