php-translation / transifex-adapter
Adapter for transifex.
dev-master
2017-01-02 12:20 UTC
Requires
- php: ^7.0
- babdev/transifex: ^2.0
- php-translation/common: ^0.2
Requires (Dev)
- nyholm/symfony-bundle-test: ^1.0
- phpunit/phpunit: ^4.5 || ^5.4
This package is auto-updated.
Last update: 2024-11-25 06:54:47 UTC
README
This is an PHP-translation adapter for Transifex.
Install
composer require php-translation/transifex-adapter
Symfony bundle
If you want to use the Symfony bundle you may activate it in kernel:
<?php
// app/AppKernel.php
public function registerBundles()
{
$bundles = array(
// ...
new Translation\PlatformAdapter\Transifex\Bridge\Symfony\TranslationAdapterTransifexBundle(),
);
}
If you have one Transifex project per domain you may configure the bundle like this:
# /app/config/config.yml translation_adapter_transifex: projects: my_proj: domains: ['messages'] my_nav: domains: ['navigation']
This will produce a service named php_translation.adapter.transifex
that could be used in the configuration for
the Translation Bundle.
Documentation
Read our documentation at http://php-translation.readthedocs.io.
Contribute
Do you want to make a change? This repository is READ ONLY. Submit your pull request to php-translation/platform-adapter.