Developer documentation · schema 3.1.8GitHub
Fair3RFDF schema

Operate and contribute

Translations

User-facing labels, help text, and placeholders are English-only in fdf_schema.json. Translations live in sidecar files under i18n/ (separate from CKAN Babel). CKAN downloads them via fair3r update-schema.

After editing the schema:

python tools/i18n.py template --locale fr   # add new keys, keep existing translations
python tools/i18n.py check --locale fr      # fail if any key is missing or empty

Sidecar keys use stable schema ids, for example sections.title.fields.publication_year.help. If a translation is missing at runtime, the English string from fdf_schema.json is shown.

To add a new locale, create i18n/<locale>.json using the same format and ask the CKAN extension maintainers to add the locale to SUPPORTED_SCHEMA_LOCALES.


Edit this page on GitHub