OK i'll do that tomorrow. Thanks
Le 6 mars 2014 18:31, "David Buchmann" <notifications@github.com> a écrit :

> In Model/Phpcr/TranslatableInterface.php:
>
> > + *
> > + * (c) Thomas Rabaix <thomas.rabaix@sonata-project.org>
> > + *
> > + * For the full copyright and license information, please view the LICENSE
> > + * file that was distributed with this source code.
> > + */
> > +namespace Sonata\TranslationBundle\Model\Phpcr;
> > +
> > +use Sonata\TranslationBundle\Model\TranslatableInterface as GenericTranslatableInterface;
> > +
> > +/**
> > + * This is a Convenient interface made to easily plug PHPCR admin extension on models
> > + *
> > + * @author Nicolas Bastien <nbastien.pro@gmail.com>
> > + */
> > +interface TranslatableInterface extends GenericTranslatableInterface
>
> i think an optional marker interface makes totally sense, for the setup of
> the admin extensions. but requiring it would be a problem for us. you could
> also use the class metadata to update the locale field without knowing the
> method, if its there - but going through the dm/uow only would probably the
> most flexible solution.
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/sonata-project/SonataTranslationBundle/pull/7/files#r10351181>
> .
>