Learn R Programming

potools (version 0.2.4)

po_compile: Compile .po files to .mo

Description

This function compiles the plain text .po files that translators work with into the binary .mo files that are installed with packages and used for live translations.

Usage

po_compile(dir = ".", package = NULL, lazy = TRUE, verbose = TRUE)

Arguments

dir

Path to package root directory.

package

Name of package. If not supplied, read from DESCRIPTION.

lazy

If TRUE, only .mo functions that are older than .po files be updated

verbose

If TRUE, print information as it goes.