t!() { /* proc-macro */ }
Use the localization thing
use localization::t; fn example() { let name = "John"; let age = 42; let s = t!("ja-JP","default:hello", name, age); println!("{}", s); }