Function r18::translate

source ·
pub fn translate(prefix: impl AsRef<str>, content: &str) -> &str
Expand description

Translate content with the locale setting and given prefix.

We recommend using tr! instead of translate for translate your content.