Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 404 Bytes

README.md

File metadata and controls

23 lines (16 loc) · 404 Bytes

Parcel plugin

This is a plugin for Parcel that allows importing PO files. It's a tiny wrapper around po2json.

Installation

npm install @sidp/parcel-plugin-po

Usage

example.po:

msgid "Pages:"
msgstr "Sidor:"
import strings from './example.po';

console.log(strings['Pages:']);