Skip to content

Add new script for checking how up to date translations are #1492

Open
@patricoferris

Description

@patricoferris

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 the site 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    mediumMore Complex Issues for Outreachyscripts

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions