Join us to discuss the challenges, solutions and best practices for in-house JavaScript code sharing. Tuesday, 12/17 at 10am PT/1pm ET.Sign up here »

i18nc-po

2.6.6 • Public • Published

I18NC-PO

NPM Version NPM Downloads NPM License

Install

npm install i18nc-po --save

Usage

var fs = require('fs');
var i18nc = require('i18nc-core');
var i18ncPO = require('i18nc-po');
var ret = i18nc(code, options);
 
i18ncPO.create(ret);    // return content of pot and po
 
var poContent = fs.readFileSync('en-US.po').toString();
i18ncPO.parse(poContent);      // return dbTranslateWords for i18nc-core

Install

npm i i18nc-po

DownloadsWeekly Downloads

32

Version

2.6.6

License

MIT

Unpacked Size

21.3 kB

Total Files

6

Last publish

Collaborators

  • avatar