Provide operations context to source plugins

Created on 29 September 2023, 9 months ago

Problem/Motivation

The LingotekContentTranslationService::updateEntityHash method gets called on every node save. As a result, it executes all lingotek overrides source plugins, even outside the context of translation upload/download. On our project we are consuming content from a third party service via a REST service. We need to run this as part of the upload/download process with Lingotek. However, because of the updateEntityHash method our REST service gets called every node save!

Proposed resolution

Provide some operations context to the plugin so that we know when the plugin is being called and we can opt-out of certain operations.

✨ Feature request
Status

Active

Version

3.8

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States partdigital

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @partdigital
  • @partdigital opened merge request.
  • πŸ‡ΊπŸ‡ΈUnited States partdigital

    I've submitted an MR for first round of work. This is not ready to merge however. It appears that Lingotek overrides itself does not have the plugins and those were only added through a series of patches.

Production build 0.69.0 2024