longbridgeapp / rust-i18n

A better and simply I18n crate for Rust.
MIT License
321 stars 32 forks source link

Recompile target if language files change #62

Closed Arne91 closed 9 months ago

Arne91 commented 1 year ago

When the language files change, the changes are not applied and compiled. I always have to change the .rs file where I use the macro 't!' to get the language changes in the binfile.

limuy2022 commented 9 months ago

another similai issue,you can use the build.rs like this issue to solve this.

Arne91 commented 9 months ago

Ah perfect. That is exactly what I need. Thanks