t

Macro t 

Source
macro_rules! t {
    ($key:expr) => { ... };
    ($key:expr, $($arg:tt)+) => { ... };
}
Expand description

Get I18n text with current locale

t!("greeting"); // greeting: "Hello world" => "Hello world"
t!("messages.hello", "world"); // messages.hello: "Hello, {}" => "Hello, world"