Skip to content

Expose fields and formats inside the library to allow internationalization  #170

@afeld

Description

@afeld

Is your feature request related to a problem? Please describe.

As a forms provider, I would like the ability to offer my form in multiple languages (without building it twice).

Describe the solution you'd like

Documentation (and perhaps feature additions?) around multiple language support.

Describe alternatives you've considered

Since the form configuration is done in a JS file, perhaps the titles, uiSchema values, etc. can be specified dynamically with the help of an i18n helper library. For example:

const formConfig = {
  title: I18n.t("form.title"),
  // ...
};

Maybe this approach would cover most of it?

Additional context

Other keywords to help people find this issue: localize, localization

cc rjsf-team/react-jsonschema-form#739

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions