Skip to content

ruben0909/yup-locales

 
 

Repository files navigation

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
  • da
  • de
  • es
  • fr
  • he
  • id
  • it
  • nb
  • nl
  • pt
  • tr
  • lt
  • pl
  • sk
  • ru
  • cs

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

About

Localizations for yup

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 92.5%
  • JavaScript 7.4%
  • Shell 0.1%