Additionally to checking if translated pages have a different number of examples, it would be awesome to show if the examples itself are outdated. This could be done by extracting all commands (basically lines starting and ending with ` and removing all {{...}} from them. The output of this operation should look the exact same on every translated page of a command.
If a page has a different number of examples, that could be indecated with a ⚠ with red background and if the examples differ, with a ⚠ with yellow/orange background.
Edit: Actually replacing {{...}} with a default like {{argument}} instead of removing it would be better because then command wouldn't be the same as command {{...}}
Additionally to checking if translated pages have a different number of examples, it would be awesome to show if the examples itself are outdated. This could be done by extracting all commands (basically lines starting and ending with
`and removing all{{...}}from them. The output of this operation should look the exact same on every translated page of a command.If a page has a different number of examples, that could be indecated with a ⚠ with red background and if the examples differ, with a ⚠ with yellow/orange background.
Edit: Actually replacing
{{...}}with a default like{{argument}}instead of removing it would be better because thencommandwouldn't be the same ascommand {{...}}