postFile | R Documentation |
Upload the translation file stored at "~/from.language/slug.csv" to the specified language in the project defined in setup().
postFile( slug, to.language, from.directory, conflict = "ignore", filename, verbose = FALSE )
slug |
The slug of the component to upload to. |
to.language |
The language to upload to. |
from.directory |
The directory the file is saved in. |
conflict |
Optional. How to handle conflicts on the server. One of "ignore", "replace-translated" or "replace-approved". |
filename |
Optional, defaults to slug. Name of the file, without ".csv" ending. |
verbose |
Optional. Whether to print a detailed log to the console or not. |
The response from the server, as returned by httr::POST().
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.