jjzjj

php - sonata admin + a2lix + gedmo 可翻译问题

我正在尝试使用sonataadmin+a2lix+gedmotranslatable来翻译我的实体。不幸的是它不起作用,因为我希望在表单中看到我的可翻译字段,而在我的后端我可以看到这个“字段-内容”:我已经学习了这个教程:http://a2lix.fr/bundles/translation-form/http://www.elao.com/blog/symfony-2/doctrine-2/how-to-manage-translations-for-your-object-using-sonataadminbundle.html和包的文档。在这里你可以找到我写的所有代码:https

php - Symfony 2,MongoDB + a2lix/translation-form-b​​undle

我在Symfony2.5中使用MongoDB时遇到包“a2lix/translation-form-b​​undle”的问题。我想我已经按照文档中的说明完成了所有操作,但是我有“缺少必需的选项“class”。”错误。我的产品:/***ClassProduct*@MongoDB\Document(repositoryClass="MyBundle\ProductBundle\Repository\ProductRepository")*@Gedmo\TranslationEntity(class="MyBundle\ProductBundle\Document\ProductTransl