Description
Problem
It'd be nice to be able to run Vale against the frontend copy to check for things like sentence complexity, consistent capitalisation, etc.
Description
Vale doesn't support this directly, so I think to do it we'd need to work around Vale by automatically generating a .txt or .md file using all the strings from en.json5
, and then run Vale against it, with explicit feedback for users about how to fix any issues. That makes it hard, if not impossible, to add Vale pragmas (to ignore certain lines, for example), though, so it might not be possible. We might be able to implement that through some convention when creating the file, using specific types of comments. We'd need to make sure those comments are excluded from the generated POT file, however.
Alternatives
There might be other tools better suited for this than Vale.
Metadata
Assignees
Labels
Type
Projects
Status
📋 Backlog