-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Translation editing and live reload #83
Comments
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. |
Partially addresses #83 and provides support for autoreloading of languages on the file system and when using rust-embed in debug builds. Also provides support for overriding translations using multiple sources, useful for software that will be customized by the end user (such as avalanche-report) , or perhaps for an eventual implementation of in-place translation editing for #83
I don't know the internal of this crate, but could it be possible to add a |
i18n-embed
for a live reload from file system for people editing files by hand. Perhaps using notify.The text was updated successfully, but these errors were encountered: