Uploaded image for project: 'translate5'
  1. translate5
  2. TRANSLATE-3566

Plugin ConnectWorldServer: Use Translate5 for Pretranslation

XMLWordPrintable

    • Low
    • Added automatic Pretranslation to existing Plugin ConnectWorldserver

      general description

      as described in https://jira.translate5.net/browse/TS-2597 the existing ConnectWordserver plugin should be extended.
      It should be possible to send a task from Worldserver to Translate5 only for automatic pretranslation. After this pretranslation is done (while task import), the task should be directly sent back to the Worldserver without any further work inside Translate5.

      Implementation

      General idea of assigning language-resources manually:

      • create a special customer "WS-AutoPretranslation" which should have NO user/language assignments.
      • while language-resorces are normally bound to a customer, we have to add the "WS-AutoPretranslation" customer to all language-resources, else it can not be used. This is in the field "Use for selected client". It should NOT be done in the field "Read access.. " or "Use as pivot...", else there can be unwanted assignments.
        To make sure that our special "WS-AutoPretranslation" has the right to access any Lanaguage-Resource, there is a special function ConnectWorldserver::addLanguageresourceAccessForPretranslationCustomer()
      • now we can assign language-resources to tasks manually

      Delete task after process in Translate5

      There is a new config parameter runtimeOptions.plugins.ConnectWorldserver.Worldserver.autoDeletePretranslationTask
      Default is "disabled". Can be activated if tests etc. are running as expected.

            Stephan Stephan Bergmann
            Stephan Stephan Bergmann
            Axel Becher
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: