Auto Import/Export translation strings from/to a Git repository (for GlotPress)
PHP
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
extract
pomo
LICENSE
README.md
add-textdomain.php
cron-gp-export.php
cron-gp-import.php
makepot.php
not-gettexted.php
php-mo.php
pot-ext-meta.php

README.md

GlotPress Import Export

This was developed for LimeSurvey in May 2012. It runs as a cron, automatically adds new strings pushed into project code to GlotPress and commits new translations back into the project. Check this post for an explanation.

The two files you would want to be concerned with are:

  • cron-gp-export.php
  • cron-gp-import.php