create_translation_key
Create a unique translation key in your SimpleLocalize project. Specify optional namespace, description, tags, and character limit to set metadata.
Instructions
This tool will create a single translation key in your SimpleLocalize project.
Provide 'key' (required) and optionally 'namespace', 'description', 'codeDescription', 'tags', and 'charactersLimit'.
Throws an error if the translation key already exists. Use create_translation_key_bulk to create multiple keys or to ignore existing ones.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | The translation key name. Must be unique within the namespace. | |
| tags | No | Tags to categorize the translation key (max 5). | |
| namespace | No | The namespace for the translation key. Defaults to an empty string if not provided. | |
| description | No | A description of the translation key (max 500 characters). | |
| charactersLimit | No | The character limit for the translation key value. -1 means unlimited. | |
| codeDescription | No | A description of the code context for the translation key (max 500 characters). |