Tolgee icon

Tolgee

Interact with Tolgee API for translation management

Translation → Create Or Update Translation

AI-generated

Summary

Create or update a translation for a specified Tolgee project.

Inputs

  • projectId (required) — The ID of the Tolgee project. Choose from the list, or specify an ID using an expression.
  • key (required) — The translation key name to create.
  • translations (required) — The translations for different languages, which must include language code and corresponding text.
  • options — Additional options for the translation creation, including languages to return and the namespace.

Output shape

a single record containing the created or updated translation data

Returns the details of the created or updated translation, including translations per specified languages.

Examples

Example 1: Update an existing translation

Select project, provide key and translations in different languages.

Example 2: Create a new translation

Select project, provide unique key and any language translations.

Discussion