Sander Houttekier c7c62caa54 Update parsing of headers
Remove wrong `.replace()` statement which breaks any language file from a language ending with the character `n`. It is unclear to me why this replace is even there. As it is even invalid to replace without supplying a string with what it needs to be replaced.
2013-10-31 14:13:25 +01:00
2013-10-31 14:13:25 +01:00
2012-01-15 11:31:07 -08:00
2011-12-21 22:50:01 -08:00
2012-01-02 16:06:32 -08:00
2011-12-27 12:03:19 -08:00

Used to load and save PO files.

var po = require('po')  
  , fs = require('fs')

po.load('text.po', function(_po){
  console.log(_po.headers);
  console.log(_po.items);
  
  _po.save('copy.po', function(){
    console.log('We copied a PO file for no reason!');
  });
});
Description
Parse and serialize Gettext PO files.
Readme 360 KiB
Languages
JavaScript 88%
CoffeeScript 12%