r-devel / rdevguide

A guide for contributing to R core development
https://contributor.r-project.org/rdevguide/
Other
60 stars 19 forks source link

Run tools::checkPoFiles on translations as a custom check #149

Closed daroczig closed 1 year ago

daroczig commented 1 year ago

From Michael Lawrence:

Martin Maechler brought up that it would be helpful to check translations as they are committed.

We could implement a hook to do so before committing to weblate's DB: https://docs.weblate.org/en/latest/admin/checks.html#writing-own-checks

We will need to either trigger tools::checkPoFile from a python helper using rpy2 or might need to set up an API instead

daroczig commented 1 year ago

As per Slack, I'm moving this over to r-devel/translations#15