Skip to contents

Grabs .Rd files and creates yaml templates to then translate.

Usage

i18n_translation_templates(rd_files, folder)

Arguments

rd_files

character vector of rd files.

folder

folder where to save the templates. Will be created if it doesn't exist.

Examples

rd_files <- system.file("extdata", "periodic.Rd", package = "rhelpi18n")
template_folder <- tempdir()
i18n_translation_templates(rd_files, template_folder)
#> /home/runner/work/_temp/Library/rhelpi18n/extdata/periodic.Rd 
#>                               "/tmp/RtmpTJGduA/periodic.yaml"