import_translations
Quickly add translations to a Tolgee project by supplying key names and language-value pairs.
Instructions
Import translations into a Tolgee project using single-step import.
Each key object should have a "name" and "translations" mapping language tags to values.
Args:
project_id: The numeric ID of the project.
keys: List of key objects with "name" (str) and "translations" (dict of language_tag -> value).
Example:
[{"name": "hello", "translations": {"en": "Hello", "de": "Hallo"}}]Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | ||
| keys | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |