import_keys
Add translation keys with multiple language values to a Tolgee project using a list of key objects.
Instructions
Import localization keys with translations into a Tolgee project.
Each key object should have a "name" field and a "translations" dict mapping language tags to values.
Args:
project_id: The numeric ID of the project.
keys: List of key objects, each with "name" (str) and "translations" (dict of language_tag -> value).
Example keys format:
[{"name": "greeting", "translations": {"en": "Hello", "fr": "Bonjour"}}]Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | ||
| keys | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |