Register further languages in Quarto config
Examples
if (FALSE) { # interactive()
parent_dir <- withr::local_tempdir()
quarto_multilingual_book(
parent_dir = parent_dir,
project_dir = "blop",
further_languages = c("es", "fr"),
main_language = "en"
)
register_further_languages(
"pt",
project_path = file.path(parent_dir, "blop")
)
# have a look at the configuration
file.edit(file.path(parent_dir, "blop", "_quarto.yml"))
}