我正在开发中Symfony3多语言网站与KnpDoctrineExtension和a2lix /翻译形式的束。A2Lix翻译形式在Sublime3
我跟着既为KNP和A2Lix文档:控制器和实体都OK,但是当我尝试建立和呈现形式,我得到一个500错误
Could not load type "a2lix_translations"
所有的例子,我发现是从项目Symfony2,所以我想知道这是否与我使用的版本相关的问题。
我装捆在app \ AppKernel.php
new Knp\DoctrineBehaviors\Bundle\DoctrineBehaviorsBundle(),
new A2lix\TranslationFormBundle\A2lixTranslationFormBundle(),
,我加入应用中的以下行\ CONFIG \ config.yml
a2lix_translation_form:
locale_provider: default
locales: [br, it, ru]
default_locale: en
required_locales: [br, it]
manager_registry: doctrine
templating: "A2lixTranslationFormBundle::default.html.twig"
感谢您的关注和为贵帮帮我。
可以请人只是确认a2lix形式捆绑工作与Symfony3? – chieroz