zitadel_set_hosted_login_translation
Override hosted login (Login V2) texts for a locale via Settings v2, deep-merging only your keys into existing org or instance overrides.
Instructions
Override texts of the Login V2 (new "hosted login" / TypeScript login) for a locale, via the Settings v2 API — the correct lever for the new login (the legacy Management "Custom Login Texts" are ignored by it). Pass translations as flat dot-path keys mirroring apps/login/locales/.json in zitadel/zitadel, e.g. {"password.errors.couldNotCreateSessionForUser":"Benutzername oder Passwort falsch."}. Only the keys you send are changed: the tool reads this level's existing overrides, deep-merges yours in, and writes the result — so other overrides and untouched defaults stay intact (idempotent). Defaults to the configured org (ORG-LEVEL — affects every app whose login resolves to this org); pass level:"instance" for the whole instance (needs an IAM-level grant). Set one locale per call; repeat for each language you support.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | No | Scope to write: "organization" (default) or "instance". | |
| locale | Yes | BCP-47 language tag to write, e.g. "de" or "en". | |
| translations | Yes | Map of override keys to text. Keys are flat dot-paths mirroring the login locale file (e.g. "password.errors.couldNotCreateSessionForUser"); an already-nested object is also accepted. Values may contain login-app placeholders like {failedAttempts}. |