[−][src]Macro gettext_macros::compile_i18n
compile_i18n!() { /* proc-macro */ }
Compiles your internationalization files.
This macro expands to nothing, it just writes .po
and .mo
files.
You can configure its behavior with the po
and mo
options of init_i18n
.
This macro should be called after (not in the program flow, but in the Rust parser flow) all other internationlaziton macros,
expected include_i18n
.
Example
ⓘThis example is not tested
compile_i18n!();