Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Use doctrine_extensions.default_locale instead of en_US as default lo…

…cale
  • Loading branch information...
commit c44f33bfd9227da5ce6b81092bd59dfa2302099e 1 parent 3ac6943
Christophe Coevoet stof authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  DoctrineExtensionsBundle.php
2  DoctrineExtensionsBundle.php
View
@@ -24,7 +24,7 @@ public function boot()
$sluggableListener = new SluggableListener();
$eventManager->addEventSubscriber($sluggableListener);
$translatableListener = new TranslationListener();
- $translatableListener->setTranslatableLocale('en_US');
+ $translatableListener->setTranslatableLocale($this->container->get('doctrine_extensions.default_locale'));
$eventManager->addEventSubscriber($translatableListener);
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.