magomogo/translator-utils

PHP Utils for localization with Magomogo/Translator application

Installs: 747

Dependents: 0

Watchers: 2

Forks: 3

Language: PHP

v4.0.5 2015-07-15 07:49 UTC

README

Build Status

Utils for localization with Translator application: parsing out the i18n keys from phtml templates, AngularJS partials, and json data; with the subsequent storage in CouchDB.

Requirements

  • php5-intl
  • Nodejs package manager (npm) in PATH
  • CouchDB 1.2+

CouchDb schema is developed separately as npm package translator-couch

Testing

To execute Unit tests run:

./tests/run.sh --testsuite Unit

Integration tests are depends on the database server couchdb and the package manager npm. They can be started this way:

./tests/run.sh --testsuite Integration

License: MIT

Copyright (c) 2013 Maxim Gnatenko