yl

yup-locales

Localizations for yup

Showing:

Popularity

Downloads/wk

1.1K

GitHub Stars

18

Maintenance

Last Commit

10mos ago

Contributors

8

Package

Dependencies

0

Size (min+gzip)

4.3KB

License

Type Definitions

Built-In

Tree-Shakeable

Yes?

Categories

Readme

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:

  • fr
  • nl
  • nb
  • de
  • ar
  • es
  • it
  • pt

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

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100