1.3.1 • Published 4 years ago
@stephen-r/yup-i18n-de v1.3.1
yup-i18n-de
German translation for yup validations
Installing
- with npm
$ npm install @stephen-r/yup-i18n-de
- with yarn
$ yarn add @stephen-r/yup-i18n-de
Usage
Use the following code to switch to German translation
import { registerGermanYupLocale } from "@stephen-r/yup-i18n-de";
// ... some code
registerGermanYupLocale();
// ... more code
Additional Usage
There might be a need to change parts of the translations by yourself. This can be achived by changing the objects directly:
import { registerGermanYupLocale, mixed } from "@stephen-r/yup-i18n-de";
// ... some code
mixed.default = "Eine andere Meldung!";
registerGermanYupLocale();
// ... more code
Be aware that changes before and after calling registerGermanYupLocale()
are taken
into consideration.
1.3.1
4 years ago
1.3.1-beta.2
4 years ago
1.3.1-beta.1
4 years ago
1.3.0
4 years ago
1.3.0-beta.1
4 years ago
1.2.0-beta.2
4 years ago
1.2.0
4 years ago
1.2.0-beta.1
4 years ago
1.1.1
4 years ago
1.1.1-beta.2
4 years ago
1.1.0
4 years ago
1.1.1-beta.1
4 years ago
1.0.3
4 years ago