Description
Currently we have no insight into how up to date (or most likely not) the translations of the site are.
One partial solution for at least providing insight into the problem is have a script which compares the last known modification time (using git) of pages which are supposed to be a translation of each other. This script could then dump this list to stdout and at least then we would have a basis for integrating this into the build process (perhaps in the future it could mark the translated pages as likely being out of date w.r.t to probably the English version).
As a prototype we would probably need:
- A new
script
which uses https://github.com/mirage/ocaml-git to compare this information. This would have to iterate over files in thesite
directory and do the comparisons. - A new Makefile target (e.g.
make check
) which builds and executes the script.
This was first suggested ocaml/ocaml.org#824 -- of course there are problems such as if a translation is partially updated (but still out of date) it will get a new modification time, but this is meant to provide insight rather than be total solution and is likely to be an improvement over having nothing at all.