comprehensive-rust
comprehensive-rust copied to clipboard
Publishing i18-helpers
Are there any plans for publishing the i18-helpers binaries to e.g., crates.io? I would like to use the same translation system as used in this repo, but copying the code of the helpers does not seem productive.
Publishing it was mentioned in #434 but no concrete plan yet. With #318 @djmitche is still working on enhancing i18n-helpers.
Thanks for raising this @jhoobergs! It's definitely on our radar, we've just been holding off a bit to get the infrastructure tested a bit first.
Note that you can install the binaries directly from this repository with
cargo install --git https://github.com/google/comprehensive-rust i18n-helpers
That might help a bit until we split the code into its own repository and start publishing to crates.io.
Related, I reached out to @funkill from mdbook-i18n to see if we can combine the two somehow: https://github.com/funkill/mdbook-i18n/issues/32.
It seems that mdbook-i18n is doing the looping part of our publish.yml script and it would be great to extract that functionality into something people can run by hand. That way, publish.yml can become trivial and people can generate a full book locally to check how the translated output looks.
The plugins are now published, please see: https://crates.io/crates/mdbook-i18n-helpers :rocket:
I'll update our publish workflow next to use the new crate.