Creates translation function for named string list
Examples
translations <- list(
"maison" = "house",
"chapeau" = "hat",
"chat" = "cat"
)
translate_to_english <- gtl_translator(translations)
translate_to_english("maison")
#> [1] "house"
translate_to_english("chat")
#> [1] "cat"