Page MenuHomePhabricator

Consider internationalizing and localizing JSON schemas
Open, LowPublic

Description

We have JSON schema files specifying the shape of our templates, patterns and tests configuration files.

These files include "title" and "description" properties which are used to generate a form with json-editor, easier to edit than manually writing a JSON file.

However, these "title" and "description" properties have values in English only.

Consider having a set of master schema files from which a series of translated schemas are automatically generated (e.g., es.templates.json.schema).

Event Timeline

diegodlh moved this task from To do to Backlog on the Web2Cit-Core board.

Consider having a set of master schema files from which a series of translated schemas are automatically generated (e.g., es.templates.json.schema).

I guess this could be done upon compiling the source code, or even better (for more immediate availability of translations) browser-side. That is, the browser would download both the master/main file and the corresponding translation file, and generate the final translated schema on the fly.