Skip to content

Localization #205

@olzraiti

Description

@olzraiti

Currently there is no way to localize the form (add/remove/submit -buttons, error messages).
Localizations could be in a separate schema (example below). This would allow uniform localization technique for fields provided by the form and also custom schema fields. However, this wouldn't provide a way to localize error messages. Maybe a error message formatter function could be given to the form as a parameter.

jsonSchema:

{type: "object",
 properties: {
     custom: {
         type: "object",
         properties: { ... }
     },
     array: {
          type: "array",
          items: { ... }
      }
 }
}

uiSchema:

{
 custom: {
     "ui:field": someField
 }
}

localizationschema:

{
    array: {
        add: "localized add text",
        delete: "localized delete text"
    }, custom: {
        { ... }
    }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions