Create or update glossary
Arguments
- filename
Name of the glossary file. See DeepL docs on supported formats. babeldown is stricter: the columns need to be named like
source_lang
andtarget_lang
.- glossary_name
Name for the glossary. Defaults to the filename without extension.
- source_lang
Name or code of source language. See DeepL docs.
- target_lang
Name or code of source language. See DeepL docs.
Examples
if (FALSE) { # \dontrun{
deepl_upsert_glossary(
system.file("example-es-en.csv", package = "babeldown"),
glossary_name = "rstats-glosario",
target_lang = "Spanish",
source_lang = "English"
)
} # }