This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env node | |
/* | |
PO parser from http://jsgettext.berlios.de/lib/Gettext.js | |
adapted for Node.js and modified to be more like po2json.pl | |
- Zach Carter <[email protected]> | |
Further adapted to be used inside a node.js environment instead of the command line. Import with a require statement: | |
var po2json = require('po2json.js') | |
po2json.parse('filename', function(result) { |
NewerOlder