Skip to content
forked from marek-saji/po-csv

Convert gettext PO files from CSV files and merge them back in.

License

Notifications You must be signed in to change notification settings

Slayer95/po-csv

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PO↔CSV

CI Code Climate

Convert GNU gettext PO files from CSV files and merge them back in.

Not many translation agencies are willing to use POEdit and require to send them text to translate as spreadsheet files. This tool extracts data form PO files and stores them in CSV files, which can be opened in Excels, Google Spreadsheets, Calcs, Numbers and whatnot.

But isn't there already csv2po, which does exactly that?

Unfortunately not “exactly”. It seems not to support:

  • plural forms,
  • notes to translators.

Usage

node index.js file.po > untranslated.csv

Then send untranslated.csv for translation and ask to change only columns starting with “msgstr”. When you get your CSV beautifully translated do:

node index.js file.po translated.csv > translated.po
cp translated.po file.po

About

Convert gettext PO files from CSV files and merge them back in.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 84.6%
  • Shell 15.4%