@valibot/i18n
TypeScript icon, indicating that this package has built-in type declarations

0.13.0 • Public • Published

Valibot i18n

The official i18n translations for Valibot. See the internationalization guide for more details.

Current status

Language Pull Request Status
Arabic (ar) #527
Chinese (zh-CN) #419
Chinese (zh-TW) #427
Dutch (nl) #438
English (en) #397
German (de) #397
French (fr) #418
Hungarian (hu) #560
Japanese (ja) #431
Korean (kr) #429
Norwegian (nb) #439
Portuguese (pt) #509
Romanian (ro) #472
Russian (ru) #434
Slovenian (sl) #422
Turkish (tr) #549
Ukrainian (uk) #423

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

  1. Add ISO code to src/types.ts in line 4
  2. Duplicate src/en.ts and change file name to ISO code
  3. Change ISO code and translate messages in new file
  4. Import new language file in scripts/build-npm.ts and scripts/build-jsr.ts
  5. Add new import to languages array

Build library

Execute build script

pnpm build-npm      # for npm
pnpm build-jsr      # for JSR

Package Sidebar

Install

npm i @valibot/i18n

Homepage

valibot.dev

Weekly Downloads

139

Version

0.13.0

License

MIT

Unpacked Size

669 kB

Total Files

3590

Last publish

Collaborators

  • fabian-hiller