Skip to content

Commit

Permalink
fix translatable listener defaut locale
Browse files Browse the repository at this point in the history
 * TranslatableListener now starts with the default locale set by the user
  • Loading branch information
maoueh committed Apr 19, 2012
1 parent 5290b35 commit 6578d16
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Resources/config/listeners.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@
<call method="setDefaultLocale">
<argument>%stof_doctrine_extensions.default_locale%</argument>
</call>
<call method="setTranslatableLocale">
<argument>%stof_doctrine_extensions.default_locale%</argument>
</call>
<call method="setTranslationFallback">
<argument>%stof_doctrine_extensions.translation_fallback%</argument>
</call>
Expand Down

0 comments on commit 6578d16

Please sign in to comment.