Translate Custom Label
sf_translate_custom_labelAdd or update a Salesforce Custom Label translation via the Metadata API. Provide label API name, language code, and translated value; existing translations for that label and language are overwritten.
Instructions
Adds or updates a translation for a Salesforce Custom Label via the Metadata API (Translations type). Provide the label API name, the target language code (e.g. 'fr' for French, 'de' for German, 'ja' for Japanese), and the translated value. Translation Workbench must be enabled in the org. Existing translations for the same label and language will be overwritten.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| language | Yes | Language code, e.g. 'fr', 'de', 'es', 'ja' | |
| labelName | Yes | Custom label full name (API name) | |
| translatedValue | Yes | Translated text value |