restore_urls_from_placeholders | R Documentation |
Replaces placeholders like __URL1__
, __URL2__
, etc. in a translated sentence back with their original URLs.
Handles both original and lowercased versions of the placeholder (to account for translation artifacts).
restore_urls_from_placeholders(translated, urls)
translated |
A character string where placeholders should be replaced with original URLs. |
urls |
A character vector of the original URLs to restore. |
A character string with the placeholders replaced by the corresponding URLs.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.