git clone https://github.com/llaske/ini2po.git
cd ini2po
npm install -g
ini2po is a command script to generate gettext PO files from INI file formatted for webl10n.
ini2po <inifile>
ini2po looks for a default language section [*]
. If it finds it, it generates a template.pot
file using this section.
po2ini is the reverse command: it takes a set of gettext PO files and convert it to an unique INI file formatted for webl10n.
po2ini [-o <outputfile>] <pofile1> [<pofile2> ...]
po2ini replaces content of the template.pot
file by a default language section [*]
.