See all labels registered with get_labels()
,
then set custom text with set_labels()
.
set_labels(language, ...)
get_labels(language = "en")
Language to use for labels, supported values are : "en", "fr", "pt-BR", "es", "de", "pl", "ja", "el", "id", "zh-CN".
A named list with labels to replace.
get_labels()
return a named list with all labels registered.
# In global.R for example:
set_labels(
language = "en",
"Please authenticate" = "You have to login",
"Username:" = "What's your name:",
"Password:" = "Enter your password:"
)