rk.updatePluginMessages: Update plugin i18n messages

View source: R/rk.updatePluginMessages.R

rk.updatePluginMessagesR Documentation

Update plugin i18n messages

Description

A wrapper for calling update_plugin_messages.py to extract translatable strings from a plugin or update/merge translations.

Usage

rk.updatePluginMessages(
  pluginmap,
  extractOnly = FALSE,
  default_po = NULL,
  outdir = NULL,
  bug_reports = "https://mail.kde.org/mailman/listinfo/kde-i18n-doc"
)

Arguments

pluginmap

Character string, full path to the main pluginmap file of the plugin to translate.

extractOnly

Logical, should translatable strings only be extracted? If FALSE, translatable strings will be updated and installed.

default_po

Optional character string, fallback default name for *.pot file.

outdir

Optional character string, change the output directory for generated files.

bug_reports

Character string, URL to a bug tracker, mailing list or similar, where translation issues should be reported.

Note

For details on the translating process, please refer to the chapter Plugin translations of the Introduction to Writing Plugins for RKWard, especially subsection Translation maintainance.

See Also

Introduction to Writing Plugins for RKWard

Examples

## Not run: 
rk.updatePluginMessages("~/myPlugins/lifeSaver/rkward/lifeSaver.pluginmap")

## End(Not run)

rkward-community/rkwarddev documentation built on May 9, 2022, 3:02 p.m.