custom-labels: Modify shinymanager labels to use custom text

custom-labelsR Documentation

Modify shinymanager labels to use custom text

Description

See all labels registered with get_labels(), then set custom text with set_labels().

Usage

set_labels(language, ...)

get_labels(language = "en")

Arguments

language

Language to use for labels, supported values are : "en", "fr", "pt-BR", "es", "de", "pl".

...

A named list with labels to replace.

Value

get_labels() return a named list with all labels registered.

Examples


# In global.R for example:
set_labels(
  language = "en",
  "Please authenticate" = "You have to login",
  "Username:" = "What's your name:",
  "Password:" = "Enter your password:"
)

shinymanager documentation built on Sept. 27, 2022, 9:06 a.m.