contentrain_vocabulary_save
Add or update vocabulary term translations. Specify terms as slug-keyed locale objects; the merge preserves unspecified entries. Changes commit automatically to the repository.
Instructions
Add or update canonical vocabulary terms. Terms nest as { "term-slug": { "en": "…", "tr": "…" } } — the OUTER key is the term, the INNER key is a locale. Merges with the existing vocabulary: a term you omit is untouched. Changes are auto-committed to git — do NOT manually edit .contentrain/vocabulary.json.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| terms | Yes | Terms keyed by kebab-case term slug, each holding its translations keyed by locale code. Example: { "sign-in": { "en": "Sign in", "tr": "Giriş yap" } } |