Permalink
Browse files

Use doctrine_extensions.default_locale instead of en_US as default lo…

…cale
  • Loading branch information...
1 parent 3ac6943 commit c44f33bfd9227da5ce6b81092bd59dfa2302099e @stof stof committed Nov 9, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 DoctrineExtensionsBundle.php
@@ -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);
}
}

0 comments on commit c44f33b

Please sign in to comment.