I stuck with the $defaultLocale of the TranslatableListener.
https://github.com/Atlantic18/DoctrineExtensions/blob/master/doc/translatable.md#default-locale
I found only setup possibilities for Symphony, but not for Zend Framework 2.
There is an extension bundle for doctrine for easy setup of DoctrineExtensions named "StofDoctrineExtensionsBundle", but I didn't found something like that for ZF2.
The following link shows a best practices for setting up translatable and other DoctrineExtensions, but where should I put it and isn't there an easier approach?
I only want to know how I can configure the $defaultLocale of the TranslatableListener in a ZF2 environment.
UPDATE:
I tried in my bootstrap the following:
$translatableListener = new TranslatableListener();
$translatableListener->setDefaultLocale('de-DE');
$doctrineEventManager->addEventSubscriber($translatableListener);
But still getting:
.../vendor/gedmo/doctrine-extensions/lib/Gedmo/Translatable/TranslatableListener.php:464 Gedmo\Translatable\Mapping\Event\Adapter\ORM->loadTranslations
$object Rental\Entity\Rental
$translationClass "Rental\Entity\RentalTranslation"
$locale "en_US"
$objectClass "Rental\Entity\Rental"