po_extract | R Documentation |
.pot
filepo_extract()
scans your package for strings to be translated and
saves them into a .pot
template file (in the package's po
directory). You should never modify this file by hand; instead modify the
underlying source code and re-run po_extract()
.
If you have existing translations, call po_update()
after po_extract()
to update them with the changes.
po_extract(
dir = ".",
custom_translation_functions = list(),
verbose = !is_testing(),
style = NULL
)
dir |
Character, default the present directory; a directory in which an R package is stored. |
custom_translation_functions |
A See Details in |
verbose |
Logical, default |
style |
Translation style, either Both styles extract strings explicitly flagged for translation with
|
The extracted messages as computed by get_message_data()
,
invisibly.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.