Skip to content

Commit 07657c6

Browse files
authored
feat: added support for 15 new languages (#87)
* feat: added support for 15 new languages * fix: upd spec package
1 parent fa54c4f commit 07657c6

File tree

3 files changed

+43
-22
lines changed

3 files changed

+43
-22
lines changed

.changeset/afraid-socks-own.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@replexica/spec": minor
3+
---
4+
5+
added new core locales : ja de pt it ru uk hi zh ko tr ar and source locales yue pl sk th

packages/spec/src/locales.ts

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,28 @@ const coreLocales = [
55
'es', // Spanish
66
'fr', // French
77
'ca', // Catalan
8+
'ja', // Japanese
9+
'de', // German
10+
'pt', // Portuguese
11+
'it', // Italian
12+
'ru', // Russian
13+
'uk', // Ukrainian
14+
'hi', // Hindi
15+
'zh', // Mandarin
16+
'ko', // Korean
17+
'tr', // Turkish
18+
'ar', // Arabic
19+
820
] as const;
921

1022
// Source
1123
export const sourceLocales = [
1224
...coreLocales,
1325
'cs', // Czech
26+
'yue', // Cantonese
27+
'pl', // Polish
28+
'sk', // Slovak
29+
'th', // Thai
1430
] as const;
1531

1632
export const sourceLocaleSchema = Z.enum(sourceLocales);

pnpm-lock.yaml

Lines changed: 22 additions & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)