read_po: Read PO and POT files

Description Usage Arguments Value See Also Examples

View source: R/read.R

Description

Reads .PO and .POT translation files.

Usage

1
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

1
2
3
# 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))

RL10N/poio documentation built on April 27, 2020, 3:50 a.m.