i18nc-db
v2.0.2
Published
I18N DB Tool
Downloads
30
Readme
I18NC-PO
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