This function is depreciated. Creates a template messages.yml file in the project root directory that users can customize to modify system messages.
Usage
sd_create_messages(language = "en", path = getwd())Arguments
- language
Character string specifying the language to use. See https://shiny.posit.co/r/reference/shiny/1.7.0/dateinput for supported languages. Also, if
"en","de","es","fr", or"it"is chosen, default messages in those langauges will be used, otherwise the default English messages will be used. Defaults to"en".- path
Character string specifying the directory where the messages.yml file should be created. Defaults to the current working directory. The file should be placed in the root project folder of your surveydown survey.
Examples
if (interactive()) {
# Create English template
sd_create_messages()
# Create German template
sd_create_messages(language = "de")
# Create Japanese template
# Will use English messages but Japanese date picker - user can modify
# the messages as desired
sd_create_messages(language = "ja")
}
