1.0.0-rc.0 • Published 5 months ago
@valibot/i18n v1.0.0-rc.0
Valibot i18n
The official i18n translations for Valibot. See the internationalization guide for more details.
Current status
Language | Pull Request | Status |
---|---|---|
Arabic (ar) | #527 | ✅ |
Catalan (ca) | #652 | ✅ |
Chinese (zh-CN) | #419 | ✅ |
Chinese (zh-TW) | #427 | ✅ |
Czech (cs) | #886 | ✅ |
Dutch (nl) | #438 | ✅ |
English (en) | #397 | ✅ |
Farsi (fa) | #838 | ✅ |
French (fr) | #418 | ✅ |
German (de) | #397 | ✅ |
Hungarian (hu) | #560 | ✅ |
Indonesia (id) | #683 | ✅ |
Italian (it) | #605 | ✅ |
Japanese (ja) | #431 | ✅ |
Korean (kr) | #429 | ✅ |
Norwegian (nb) | #439 | ✅ |
Polish (pl) | #584 | ✅ |
Portuguese (pt) | #509 | ✅ |
Romanian (ro) | #472 | ✅ |
Russian (ru) | #434 | ✅ |
Slovenian (sl) | #422 | ✅ |
Spanish (es) | #581 | ✅ |
Swedish (sv) | #606 | ✅ |
Turkish (tr) | #549 | ✅ |
Ukrainian (uk) | #423 | ✅ |
Vietnamese (vi) | #951 | ✅ |
Getting started
Step 1: Clone repository
git clone git@github.com:fabian-hiller/valibot.git
Step 2: Install dependencies
pnpm install
Step 3: Build core library
cd ./library && pnpm build
Step 4: Change to directory
cd ../packages/i18n
Add language
- Add ISO code to
src/types.ts
in line 4 - Duplicate
src/en.ts
and change file name to ISO code - Change ISO code and translate messages in new file
- Import new language file in
scripts/build-npm.ts
andscripts/build-jsr.ts
- Add new import to
languages
array
Build library
Execute build script
pnpm build.npm # for npm
pnpm build.jsr # for JSR
1.0.0-rc.0
5 months ago
1.0.0-beta.2
7 months ago
1.0.0-beta.1
8 months ago
1.0.0-beta.0
10 months ago
0.17.0
12 months ago
0.16.0
1 year ago
0.13.0
1 year ago
0.14.0
1 year ago
0.15.0
1 year ago
0.12.0
1 year ago
0.11.0
1 year ago
0.10.0
1 year ago
0.9.0
1 year ago
0.8.0
1 year ago
0.7.0
1 year ago
0.6.0
1 year ago
0.5.0
1 year ago
0.4.0
1 year ago
0.3.0
1 year ago
0.2.0
1 year ago
0.1.0
1 year ago