pub fn from_json(
translator: Translator,
) -> Result(Translator, TranslatorError)
pub fn get_key(
translator: Translator,
key: String,
) -> Result(String, TranslatorError)
pub fn get_key_plural(
translator: Translator,
key: String,
count: Int,
args: List(#(String, String)),
) -> Result(String, TranslatorError)
pub fn get_key_with_args(
translator: Translator,
key: String,
args: List(#(String, String)),
) -> Result(String, TranslatorError)
pub fn new_translator(language: String) -> Translator
pub fn with_directory(
translator: Translator,
directory: String,
) -> Translator