• Critical
    • manual translation button is now shown for each resource, if it's slow

      Currently, if a request takes longer than

      runtimeOptions.InstantTranslate.maxRequestDuration

      InstantTranslate switches automatically to "manual" mode, that means, the translation requests are not send automatically to the back-end, but only when a user clicks the "translate" button, that appears in manual mode.

      The config should be kept, but moved to resource level.

      That means, if one resource answers slow and the others fast, the others will still be triggered automatically in typing breaks, but for the slow one a "Trigger translation" button appears in the frame of the resource result.

      Next to it an explaining text appears, why this button is there.

      The current JS-message that tells the user "InstantTranslate is deactivated" is completely removed.

      Texts for the UI:

      DE: Übersetzung anfordern

      Die Reaktionszeit [DeepL] ist langsamer als x Sekunden.
      Daher wird die manuelle Auslösung der Übersetzung aktiviert.

      EN: Trigger Translation

      Response time [DeepL] is slower then x seconds.
      Therefore manual translation triggering is activated.

      Also runtimeOptions.InstantTranslate.maxRequestDuration should be set to a default of 10000 ms.

      Please see screen dummy, how it should look:

          [TRANSLATE-4173] InstantTranslate: Move automatically triggered "manual translate" button on resource level

          Transition Time In Source Status Execution Times
          Marc Mittag [Administrator] made transition -
          Open Selected for dev
          6s 1
          Marc Mittag [Administrator] made transition -
          Selected for dev In Progress
          2s 1
          Pavel Perminov made transition -
          In Progress Final pull request
          4d 18h 59m 1
          Aleksandar Mitrev made transition -
          Final pull request Releasable
          8d 7h 4m 1
          Aleksandar Mitrev made transition -
          Releasable Done
          1h 25m 1

            pavelperminov Pavel Perminov
            marcmittag Marc Mittag [Administrator]
            Axel Becher
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: