magomogo / translator-utils
PHP Utils for localization with Magomogo/Translator application
Installs: 25 911
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 2
Open Issues: 0
Requires
- php: >=5.3.0
- ext-intl: *
Requires (Dev)
- doctrine/couchdb: @dev
- eloquent/composer-npm-bridge: ^3.0
- mikey179/vfsstream: 1.1.*
- mockery/mockery: ~0.9.0
- phpunit/phpunit: 3.7.*
Suggests
- doctrine/couchdb: Required when CouchDb translations storage is used
This package is auto-updated.
Last update: 2024-12-11 17:34:50 UTC
README
About
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