This is an PHP-translation adapter for Transifex.
composer require php-translation/transifex-adapter
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.
Read our documentation at http://php-translation.readthedocs.io.
Do you want to make a change? This repository is READ ONLY. Submit your pull request to php-translation/platform-adapter.