react-form-builder icon indicating copy to clipboard operation
react-form-builder copied to clipboard

Translations

Open juniorschroder opened this issue 4 years ago • 5 comments

what about translations? Does this have support i18n?

juniorschroder avatar Jul 29 '20 11:07 juniorschroder

++ one.. any chance?

rodrigogaraujo avatar Mar 20 '21 06:03 rodrigogaraujo

Is it possible to translate all keys with next-18next manually?

fuzunspm avatar Aug 23 '21 16:08 fuzunspm

It is supporting react-intl now.

Kiho avatar Apr 06 '22 06:04 Kiho

It is supporting react-intl now.

Can you explain how to create new translation using react-intl?

I've tried this but nothing..

/* languageMessages is the same json in your project but translated in italian */ <IntlProvider locale='it' defaultLocale="en" messages={languageMessages}> <ReactFormBuilder edit toolbarItems={items} locale="en" /> ...

electrixx90 avatar Jun 21 '23 09:06 electrixx90

We have only 2 language files now, you can fork and add Italian json file here https://github.com/Kiho/react-form-builder/blob/master/src/language-provider/locales/ then wire up to language provider. Or add json file and make pull request then I can take care that included in the package.

Kiho avatar Jun 24 '23 17:06 Kiho