This is an PHP-translation adapter for Doctrine (https://www.doctrine-project.org/).
composer require hmonglee/php-translation-doctrine-storage
If you want to use the Symfony bundle you may activate it in kernel:
// app/AppKernel.php
public function registerBundles()
{
$bundles = array(
// ...
new Translation\PlatformAdapter\Loco\Bridge\Symfony\TranslationAdapterDoctrineBundle(),
);
}
This will produce a service named php_translation.adapter.doctrine
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? Pull requests are welcome.