enable_language

mutationSeit v1.0

Add a language to the model so it can be translated into. The language then appears in the model's language settings and becomes a valid target for translate_elements.

Do this first — translating into a language the model doesn't yet offer is refused rather than silently accepted, so that translations can't pile up invisibly against a language nobody can see. Enabling a language does not change the model's default language and does not translate anything by itself.

Parameter

NameTypPflichtfeldStandardBeschreibung
languageStringCode of the language to enable (for example 'de' or 'fr').

Beispielanfrage

{"language": "fr"}

Beispielantwort

{"success": true, "operation_count": 1, "versions": [90]}

Dieser Inhalt wurde kollaborativ mit KI erstellt.