Skip to content

Translation Memory API #18449

@whoskn

Description

@whoskn

Describe the problem

It'd be nice to have some REST API endpoints for interacting with the translation memory. Specifically an efficient way to look up translations in the TM for specific strings without needing to pull the whole memory or iterate through it with pagination, looking for the required translation.

Solution brainstorm

Some endpoint, for example:

.../translation-memory/lookup?project=...&lang_code=...
Body:
{
list strings to translate
}

  • project - only take translations from specific project/component's TM, whole TM when none given
  • lang_code - language to fetch translations for

returns a list of translations of the given strings if present in the translation memory.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: APIIssues related to API improvements.Waiting for: DemandLow priority for development. Pull requests welcome. Can be prioritized by sponsorship.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions