If the API changes in an incompatible manner this is listed explicitly in the "important release notes" section of each releases changelog. |
See also:
The VisualReview process is triggered automatically on translate5 task import. The file convertion-worker which will merge multiple source files to one file and convert this file to html file, and segmentation worker proccess which will link the target segment to its corresponding content in layout, are part of the import proccess.
Preconditions for the VisualReview to be started are:
The visual review adds the following parameters to the task import:
Name | Type | Info |
visualReview | file | Adds a (single) file as the source for the visual review. If the import zip already contains a "visualReview" folder with review sources this file will be added to the ones provided in the zip. Filetype can be "pdf" or "html" |
visualReviewHtml | string | An URL to a website that will be taken as a source for the visual review.The URL will be downloaded with all linked ressources. Overwrites any sources provided via "visualReview" or in the import package. The provided URL has to be fully qualified like "https://www.translate5.net/en/translate5-open-source-translation-system/" and has to be accessible without login etc. |
segmentMapping | string | ( source | target ) Defines, if the visual review is mapped to the source or target of the segments. Defaults to "source". |
URL: | editor/plugins_visualreview_visualreview/segmentmap | |
Available Methods: | GET | |
Parametars: | pages | |
Specialities: | return all mapped segment for the given pages | |
Availability: |
|
URL: | editor/plugins_visualreview_fonts | |
Available Methods: | GET, PUT | |
Parametars: | GET: sort, filter, page, start, limit PUT: id, format, fontfile | |
Specialities: | return all fonts used for the visual reviews, add a font-file (woff) for a used font | |
Availability: |
|