# yup-locales

> Localizations for [jquense/yup](https://github.com/jquense/yup).

Latest version **1.2.28** (published 2024-08-01) · MIT license · 0 weekly downloads

## Install

```sh
npm install yup-locales
pnpm add yup-locales
yarn add yup-locales
bun add yup-locales
```

## Health

**Score 30/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.2.28 |
| Published | 2024-08-01 |
| First published | 2019-10-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 606.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 76 |
| Maintainers | loicmahieu |
| Keywords | yup, locales, locale |

## Links

- npm: https://www.npmjs.com/package/yup-locales
- Repository: https://github.com/loicmahieu/yup-locales
- Homepage: https://github.com/loicmahieu/yup-locales#readme
- Issues: https://github.com/loicmahieu/yup-locales/issues
- npm.io page: https://npm.io/package/yup-locales

## Alternatives

- [messageformat](https://npm.io/package/messageformat.md) — 329.7K weekly downloads
- [@mintlify/scraping](https://npm.io/package/@mintlify/scraping.md) — 294.8K weekly downloads
- [@mintlify/previewing](https://npm.io/package/@mintlify/previewing.md) — 209.5K weekly downloads
- [@mintlify/prebuild](https://npm.io/package/@mintlify/prebuild.md) — 209.5K weekly downloads
- [@mintlify/link-rot](https://npm.io/package/@mintlify/link-rot.md) — 206.3K weekly downloads

## Recent versions

- 1.2.28 (latest) — 2024-08-01
- 1.2.27 — 2024-08-01
- 1.2.26 — 2024-08-01
- 1.2.25 — 2024-07-11
- 1.2.24 — 2024-05-28
- 1.2.23 — 2024-05-28
- 1.2.22 — 2024-05-28
- 1.2.21 — 2024-01-09
- 1.2.20 — 2023-10-31
- 1.2.19 — 2023-10-31
- 1.2.18 — 2023-09-20
- 1.2.17 — 2023-09-20
- 1.2.16 — 2023-08-02
- 1.2.15 — 2023-07-20
- 1.2.14 — 2023-07-20
- … 22 more at https://npm.io/package/yup-locales/versions

## README

# yup-locales

Localizations for [jquense/yup](https://github.com/jquense/yup).

## Install

```
npm install -S yup-locales
```

## Usage

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

## Locales

Locales implemented:

- `ar`
- `bg`
- `bs`
- `cs`
- `da`
- `de`
- `en`
- `es`
- `et`
- `fi`
- `fr`
- `he`
- `hu`
- `id`
- `it`
- `ja`
- `ko`
- `lt`
- `nb`
- `nl`
- `pl`
- `pt`
- `ro`
- `ru`
- `sk`
- `sv`
- `th`
- `tr`
- `uk`
- `uz`
- `vi`
- `zh`
- `zhtw`

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](https://semantic-release.gitbook.io/semantic-release/#commit-message-format).

Example:
`feat(locales): add locale XX`

---
_Source: https://npm.io/package/yup-locales · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
