It sends a message to session object to update the language in UI elements.

update_lang(session, language)

Arguments

session

Shiny server session

language

character with language code

See also

usei18n