You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The more I explore the module VersionControl, the more I discover great features like the little clock icon next to the input in the admin module for fields included for version control (see screenshot below).
Hovering over the clock icon reveals the list of revisions for the field which then in turn can be compared with the latest revision of the field.
Whereas this feature seems to produce correct results for standard input fields, it produces some erroneous results for multi-language fields.
Since there is only one icon for a multi-language field (see screenshot above) it is not possible to have separate revision histories for the different languages.
Currently the result is a mixture of diffs between languages depending on the languages modified per revisions. So it can be that a change to the German version is compared with the latest English version. A comparison with the latest German version does not seem possible.
For a correct implementation of this feature with multi-language fields, we would probably need to have a clock icon for each language and create a history for each language separately.
A really helpful feature in the context of multi-language fields might be a function which allows to compare two languages and show the differences applied to one language since the last time the other language has been updated. This would help the translator to know what he needs to change without having to read the whole text again in both languages.
The text was updated successfully, but these errors were encountered:
I have worked out a suggestion on how to address the issue above. The screenshot below shows a preview of this. Unfortunately I have not found a simple solution but rather a number of changes to the following files (see this commit):
ProcessVersionControl.module (diff requests with additional "property" parameter; error message when revision to compare with is not available)
VersionControl.css (to allow for modified layout of revision history for multi-language fields)
VersionControl.js (to pull everything together client-side)
There is a number of things I was not able to do:
no pull request available at this point
minified versions of "VersionControl.css" and "VersionControl.js" are not available
no solution for the correct placement of the window "Compare with current" for multi-language fields (this pop-up needs to be placed next to the corresponding language field, not to the left of the revision history pop-up as seen in the screenshot below).
a proper solution should be found for the case (see screenshot below) when for a language no revision is available for the active (clicked) reference revision (top line in this case - German does not have a revision for this line, so diff for German will fail in this configuration).
The more I explore the module VersionControl, the more I discover great features like the little clock icon next to the input in the admin module for fields included for version control (see screenshot below).
Hovering over the clock icon reveals the list of revisions for the field which then in turn can be compared with the latest revision of the field.
Whereas this feature seems to produce correct results for standard input fields, it produces some erroneous results for multi-language fields.
Since there is only one icon for a multi-language field (see screenshot above) it is not possible to have separate revision histories for the different languages.
Currently the result is a mixture of diffs between languages depending on the languages modified per revisions. So it can be that a change to the German version is compared with the latest English version. A comparison with the latest German version does not seem possible.
For a correct implementation of this feature with multi-language fields, we would probably need to have a clock icon for each language and create a history for each language separately.
A really helpful feature in the context of multi-language fields might be a function which allows to compare two languages and show the differences applied to one language since the last time the other language has been updated. This would help the translator to know what he needs to change without having to read the whole text again in both languages.
The text was updated successfully, but these errors were encountered: