create_glossary_entry
Add a glossary term with source text and translations to your SimpleLocalize project. Update existing entries when the source text matches, and set case-sensitive matching or grammatical forms for accurate quality checks.
Instructions
This tool will create a glossary entry in your SimpleLocalize project.
Provide 'sourceText' (the term, max 128 characters), 'sourceLanguage', and a non-empty 'targets' array with 'targetLanguage' and 'targetText' for each translation.
'sourceLanguage' and every 'targetLanguage' must be existing language keys in the project - use the 'get_languages' tool first if unsure.
If an entry with the same 'sourceText' already exists, its translations are updated instead of creating a duplicate.
Optionally set 'caseSensitive' to true for terms whose capitalization matters (product names); quality checks then require exact capitalization.
Optionally add 'forms' to a target: alternative forms of the translation (plural, grammatical cases) that quality checks accept as a correct use of the term. Omit 'forms' to keep the ones already stored.
Glossary is not available in the Community plan.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| targets | Yes | Translations of the term, one entry per target language. | |
| sourceText | Yes | Term in the source language (e.g. Sign in). | |
| caseSensitive | No | When true, quality checks match the term and its translations exactly as written, including capitalization (useful for product and feature names). Omit to keep the current value of an existing term; defaults to false for a new term. | |
| sourceLanguage | Yes | Source language key, must exist in the project (e.g. en). |