t

Macro t 

Source
t!() { /* proc-macro */ }
Expand description

Use the localization thing

ยงExample

use localization::t;
fn example() {
  let name = "John";
  let age = 42;
  let s = t!("ja-JP","default:hello", name, age);
  println!("{}", s);
}