A set of helper hooks and components to use with i18next, react-i18next and Formik
npm install react-i18next-helpersThis example is based on using the render method for rendering a Formik form
Just passing the errors, touched, and setFieldTouched FormikProps to the hook in your render method ensures that your errors will get translated if the language changes.
Just passing the errors, touched, and setFieldTouched FormikProps to the HOC in your render method ensures that your errors will get translated if the language changes.
If you're ever in need of translating HTML you're adding dynamically to your app, and to keep content in that HTML translated, you can use the useTranslateHtmlElement hook.
The example is self explanatory.