View source: R/use_custom_lang.R
use_custom_lang | R Documentation |
If your language is not available or if you wish to customize the outputs' language to suit your preference, you can set up a translations file (see details) and import it with this function.
use_custom_lang(file)
file |
Character. The path to the translations file. |
To build the translations file, copy the language_template.csv file located in the installed package's includes directory and fill out the ‘custom’ column using a text editor, leaving column titles unchanged. The file must also retain its UTF-8 encoding.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.