Uploaded image for project: 'Zanata'
  1. ZNTA-2671

Attribution check happens post translate, allowing unattributed translations

    Details

    • Type: Bug
    • Status: Merged (View workflow)
    • Priority: High
    • Resolution: Ready for Release
    • Affects Version/s: platform-4.6.0
    • Fix Version/s: platform-4.6.0
    • Component/s: MT
    • Labels:
    • Tested Version/s:
      None

      Description

      Performing a MT translation on a (eg.) JSON document allows the document to be translated, but as the attribution is hard-coded to a subset (.po, .properties) and done afterwards, the translations are left as is without attribution.

      (ERROR [org.zanata.async.AsyncTaskManager] (pool-11-thread-3) Exception when executing an asynchronous task.: java.lang.RuntimeException: unexpected DocumentType for HDocument(docId=flatten/slash-in-key.json, name=slash-in-key.json, path=flatten/, revision=1, locale=HLocale(localeId=en-US))
      	at org.zanata.service.impl.AttributionService.addAttribution(AttributionService.kt:76))
      

      The check should happen before sending the document to MT.

        Attachments

          Activity

            People

            • Assignee:
              djansen Damian Jansen
              Reporter:
              djansen Damian Jansen
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: