powered by
Returns a translation from loaded PO-file. If the message is not found in the PO-file then original text will be returned.
gettext(msg, utype = "vector")
translated messages
character: message(s) to translate
character: how to return the translated message as vector or named list
msgs <- c("two.sided", "less", "greater") gettext(msgs) # for use in Shiny "choices" gettext(msgs, "name") gettext(msgs, "numeric")
Run the code above in your browser using DataLab