Interface Translation Update
interface_translation_updateUpdate an existing interface translation string in Drupal. Fails if the source string is unknown or untranslated, and marks the entry as customized so imports do not overwrite it.
Instructions
Change an existing interface translation.
Same storage as interface_translation_add, but this one refuses to
invent anything: an unknown source string, or a source with no
translation in langcode, is an error that says which of those it is
and points at interface_translation_add. The string is marked
customized so a later locale:import does not overwrite it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | ||
| context | No | ||
| langcode | Yes | ||
| translation | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||