Tolgee icon

Tolgee

Interact with Tolgee API for translation management

Import → Single Step Import From Body

AI-generated

Summary

Import keys and translations into a Tolgee project in a single step using a JSON body.

Inputs

  • projectId (required) — The ID of the Tolgee project. Choose from the list, or specify an ID using an expression.
  • errorOnUnresolvedConflict (required) — Whether to fail the import completely on unresolved conflicts. If true, only non-failed overrides apply.
  • keys (required) — A JSON object containing the keys and their translations to import.
  • overrideMode (required) — Select the override mode to use, affecting how disabled or reviewed translations are handled.

Output shape

an array of results containing the status of the import operation and any error messages.

The operation reports any unresolved conflicts if 'errorOnUnresolvedConflict' is set to true, and returns the status of the import.

Examples

Example 1: Importing translation keys for a specific project.

Set 'projectId' to the desired Tolgee project ID, 'errorOnUnresolvedConflict' to true for strict importing, and provide the necessary 'keys' JSON.

Discussion