comprehensive-rust icon indicating copy to clipboard operation
comprehensive-rust copied to clipboard

Create GitHub workflow for refreshing individual files

Open mgeisler opened this issue 1 year ago • 2 comments

It should be possible to create a GitHub workflow which runs

MDBOOK_OUTPUT='{"xgettext": {"pot-file": "messages.pot"}}' mdbook build -d po
msgmerge --update po/XX.po po/messages.pot

for a language. I believe it's also possible to trigger workflows directly in the Actions tab. The workflow could then do the msgmerge, open a PR and perhaps even close the PR automatically.

mgeisler avatar Sep 12 '23 13:09 mgeisler

Could this be assigned to me?

dtee1 avatar Sep 13 '23 00:09 dtee1

Hi @dtee1, sure! Please let us know if you run into any problems with this!

mgeisler avatar Sep 13 '23 08:09 mgeisler

I don't think this is super important, and with the idea of using a translation platform (#1305), we won't need this going forward.

mgeisler avatar Mar 11 '24 17:03 mgeisler