msupply-foundation / msupply_docs

mSupply public documentation
1 stars 1 forks source link

A way to see what translations need to be done #99

Open andreievg opened 1 week ago

andreievg commented 1 week ago

Quick chat gpt gave me a command, that i had to modify (but only spent 10mins on it) git ls-files -z /Users/andreievg/Documents/repos/public/msupply_docs/content/docs | xargs -0 -I {} git log -1 --format="%as {}" {} > lastmod.csv

See last mod.csv below:

lastmod.csv.zip

I think we can do a little script to also print diffs of all of the files based on last modified dates (based on modified date of english file vs translated file)

I would estimate up to 2 hours work on this

mark-prins commented 10 hours ago

A diff would be very helpful - I find the full list a little overwhelming. Would it be possible to have a GH action which posted the list to a page? wiki? and a page for each language, showing the diff for the most recent 10 pages say - for files where the translated version modified date is older than the En modified date