powered by
This shortcut provides simple translation and formatting functionality. Essentially it is a wrapper for base::gettext() and base::gettextf().
base::gettext()
base::gettextf()
._(msg, ..., domain = NULL)
The message to translate.
Arguments passed on to base::gettextf
base::gettextf
fmt
a character vector of format strings, each of up to 8192 bytes.
see base::gettext()
# NOT RUN { loki <- list() class(loki) <- "puny god" ._("I am a %s.", class(loki)) # }
Run the code above in your browser using DataLab