Documentation

TranslationMemoryApi extends AbstractApi
in package

Translation Memory (TM) is a vault of translations that were previously made in other projects.

Those translations can be reused to speed up the translation process. Every translation made in the project is automatically added to the project Translation Memory. Use API to create, upload, download, or remove specific TM. Translation Memory export and import are asynchronous operations and shall be completed with sequence of API methods.

Table of Contents

Methods

checkExportStatus()  : TranslationMemoryExport|null
Check TM Export Status
checkImportStatus()  : TranslationMemoryImport|null
Check TM Import Status
clear()  : null
Clear TM
concordance()  : ModelCollection|null
Concordance search in TMs
create()  : mixed
Add TM
createSegment()  : TranslationMemorySegment|null
Create TM Segment
delete()  : null
Delete TM
deleteSegment()  : null
Delete TM Segment
download()  : DownloadFile|null
Download TM
export()  : TranslationMemoryExport|null
Export TM
get()  : TranslationMemory|null
Get TM Info
getSegment()  : TranslationMemorySegment|null
Get TM Segment
import()  : TranslationMemoryImport|null
Import TM
list()  : ModelCollection
List TMs
listSegments()  : ModelCollection
List TM Segments
update()  : TranslationMemory|null
Edit TM Info

Methods

concordance()

Concordance search in TMs

public concordance(int $projectId, array<string|int, mixed> $params) : ModelCollection|null
Parameters
$projectId : int
$params : array<string|int, mixed>

string $params[sourceLanguageId] required
string $params[targetLanguageId] required
bool $params[autoSubstitution] required Improves TM suggestions
int $params[minRelevant] required Show TM suggestions with specified minimum match (1-100)
string[] $params[expressions] required Note: Can't be used with expression in same request
string $params[expression] Deprecated Note: Can't be used with expressions in same request

Tags
link

API Documentation

link

API Documentation Enterprise

Return values
ModelCollection|null

        
On this page

Search results