yup-locales
TypeScript icon, indicating that this package has built-in type declarations

1.2.21 • Public • Published

yup-locales

Localizations for jquense/yup.

Install

npm install -S yup-locales

Usage

import { fr } from 'yup-locales';
import { setLocale } from 'yup';
setLocale(fr);

Locales

Locales implemented:

  • ar
  • bs
  • da
  • de
  • en
  • es
  • fr
  • he
  • id
  • it
  • nb
  • nl
  • pt
  • tr
  • lt
  • pl
  • sk
  • ru
  • cs
  • uz
  • vi
  • zh
  • th
  • ja
  • zh-tw
  • ko

Please submit a PR with a new locale if you need it. In order to create a new locale, you could translate it automatically with node scripts/create-locale which will use google translate.

Please follow semantic-release message format.

Example: feat(locales): add locale XX

Readme

Keywords

Package Sidebar

Install

npm i yup-locales

Weekly Downloads

12,365

Version

1.2.21

License

none

Unpacked Size

552 kB

Total Files

37

Last publish

Collaborators

  • loicmahieu