Skip to content

fix(platform): show a connector's settings fields in the reader's language - #4746

Merged
yannickmonney merged 2 commits into
mainfrom
fix/connector-config-field-i18n
Oct 10, 2026
Merged

yannickmonney merged 2 commits into
mainfrom
fix/connector-config-field-i18n

Conversation

@yannickmonney

Copy link
Copy Markdown
Contributor

What

Translated connector fields. A connector's credential form showed its config fields' labels and help in English in the German and French UI: the HTTP connector's Base URL and API key header, and a mailbox's servers, ports, connection security and Sent folder. Now:

  • A config field takes an i18n channel for label and description. It resolves like action titles: exact tag, then base language, then the authored English.
  • The settings catalog carries it, and the form resolves it with the existing useLocalized.
  • The HTTP and IMAP/SMTP fields carry German and French.
  • The de/fr HTTP docs name the translated labels, and the connector authoring docs mention the channel.

Manual suite fix. catalog_docs.test.ts has failed on main since #4735, which shipped the HTTP connector. The manual connectors suite still said the picker offers 15 vendors and that there are four platform connectors. It now says 16 vendors (HTTP after Google Drive) and five platform connectors (Knowledge).

Verified

  • New tests:
    • the schema accepts the channel and refuses an unknown locale key, an unknown key, and an empty label;
    • the form labels and describes a field in en, de, fr, and de-CH (falling back to de); fr overrides the label alone, so its help falls back to English.
  • Gates: platform tsc; oxlint on changed files; the whole server project; UI automations and settings; shared tests; docs tests; lint:links; lint:manual; oxfmt check.
  • knip: red only on main's own CLI warningCode export, from a4098a8.

The connectors suite still listed 15 vendors in the add-dialog picker and four platform-auth connectors, so catalog_docs.test.ts failed on main since the HTTP connector shipped: the picker offers 16 vendors (HTTP after Google Drive), and Knowledge is the fifth platform connector it never lists.
…guage

A connector's config fields — the HTTP connector's Base URL and API key header, a mailbox's servers, ports, security and Sent folder — kept their English label and help in a German or French credential form. A field's label and description now take per-locale overrides (exact tag, then base language, then English, as action titles do), the catalog carries them to the form, and the HTTP and IMAP/SMTP fields have them in German and French.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant