Crowdin Enterprise (String-Based) icon

Crowdin Enterprise (String-Based)

Interact with Crowdin Enterprise API for localization management

Actions361

Translation Memory → Edit TM Segment

AI-generated

Summary

Edit a Translation Memory (TM) segment by applying one or more patch operations such as adding, replacing, or removing records in a specified TM segment within Crowdin Enterprise.

Inputs

  • Authentication — Select the authentication method to connect to Crowdin Enterprise, either OAuth2 (recommended) or Personal Access Token.
  • TM Id (required) — The identifier of the Translation Memory where the segment exists. This must be selected from available TMs, retrievable via the List TMs operation.
  • Segment Id (required) — The identifier of the specific TM segment to edit. This must be selected from available TM segments, retrievable via the List TM Segments operation.
  • Operations (required) — A collection of one or more patch operations to perform on the TM segment. Each operation specifies the type (Add, Replace, or Remove) and the relevant data for that operation:
  • Operations - Add — Add a new record to the segment with specified text and language identifier.
  • Operations - Replace — Replace the text of an existing record within the segment by specifying the record ID and new text.
  • Operations - Remove — Remove an existing record from the segment by specifying the record ID.

Output shape

A single JSON object representing the updated TM segment after applying the patch operations

The response includes the updated state of the TM segment. Multiple patch operations can be submitted in a single request. Required IDs (TM Id, Segment Id, Record Id for replace/remove) must be valid and exist. Supports batching and request customization options.

Links

Discussion