fluent-static-macros
Part of fluent-static library providing simple to use, yet efficient way to add localization to Rust projects with Fluent Localization System.
fluent-static is inspired by and partially based on awesome Fluent-rs project.
Usage example
use Value;
use message_bundle;
,
default_language = "en",
// Optional mapping of custom Fluent functions to Rust implementations
functions = ,
// Optional custom value formatter function
formatter = "custom_formatter"
)]
;
License
This project is licensed under MIT license. Feel free to use, modify, and distribute it as per the license conditions.