Learn R Programming

poio (version 0.0-4)

read_po: Read PO and POT files

Description

Reads .PO and .POT translation files.

Usage

read_po(po_file)

Arguments

po_file

A string giving a path to a PO file.

Value

An object of class po. The source_type and file_type elements are automatically determined from the file name.

See Also

xgettext

Examples

Run this code
# NOT RUN {
# read_po is used for both po and pot files
pot_file <- system.file("extdata/R-summerof69.pot", package = "poio")
(pot <- read_po(pot_file))
# }

Run the code above in your browser using DataLab