Skip to content
/ ini2po Public

webL10n JavaScript ini file to GNU gettext PO file converter

License

Notifications You must be signed in to change notification settings

llaske/ini2po

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Setup

git clone https://github.com/llaske/ini2po.git 
cd ini2po
npm install -g

Convert INI to PO

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.

Convert PO to INI

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 [*].

About

webL10n JavaScript ini file to GNU gettext PO file converter

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published