kellpossible / cargo-i18n

A Rust Cargo sub-command and libraries to extract and build localization resources to embed in your application/library
MIT License
121 stars 25 forks source link

Translation editing and live reload #83

Open kellpossible opened 2 years ago

kellpossible commented 2 years ago
kellpossible commented 1 year ago

While working on https://github.com/kellpossible/avalanche-report , it's very annoying to edit or update translations, it requires a recompile. When working with localizations in dynamic templates which support live reload (via https://docs.rs/minijinja-autoreload/latest/minijinja_autoreload/ ), it is especially apparent that this a live reload feature would be very nice to have to completely avoid a rust compile cycle. The design for this feature could be inspired by the minijinja autoreload library.