Symfony2 & Translatable : entity's locale is empty
问题 I am trying to display a list of categories with Translatable behavior. My default locale is 'fr'. In my 'ext_translations' table, I have all records needed for locale 'en'. My controller : .... $this->get('session')->setLocale('en'); $categories = $this->getDoctrine()->getRepository('MyBundle:Category')->findAll(); .... The problem is that when I display all retrieved categories, I get the 'fr' translations instead of the 'en'. I tried to display the $locale variable from my Category entity,