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

General plugin which parses a visual HTML source from a reference file

    • Medium
    • Added capabilities to download the visual source from an URL embedded in a reference XML file

      use case

      Via t5connect not only the XLF is imported into translate5, but also the original XML file, as reference file then.

      From that XML file the HTML URL for visual should be read.

      implementation

      An optional, configurable plug-in should be implemented. The plugin contains two configurations:

      1. the file name (with a pattern?) of the reference XML file to be matched against. If this config is empty the feature is disabled
      2. An Xpath to find the URL in the XML file.

      If file matches and a value can be find with the xpath, this value is used  as URL for the visual HTML download (stored in the corresponding file).

      Technical pre-condition: the plugin must be invoked before the visual review code which parses the file containing the URL.

      remark Stephan:
      a SampleArchive of a T5-task can be found in our NextCloud under /Developer/visual/TRANSLATE-2697

          [TRANSLATE-2697] General plugin which parses a visual HTML source from a reference file

          There are no comments yet on this issue.

            axelbecher Axel Becher
            tlauria Thomas Lauria
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: