I'm using gedmo/doctrine-translations
and a2lix/translation-form-bundle: 2.*@dev
to translate my entities.
The translation form always renders a Field and Content but my entity itself doesn't contain a Field or Content field.
The form type
$builder->add('translations', 'a2lix_translations');
The
2.0
version of the TranslationFormBundle isn't compatible with the currentgedmo/doctrine-extensions
version.See the bundle's upgrade notes.
You'll need to use the currently unstable branches
wip-v2.4.0
and .solution:
Either update gedmo/doctrine-extensions ...
... or downgrade your a2lix/translation-form-bundle version:
important notice for the
1.x
version of a2lix/TranslationFormBundle:You need to use the
a2lix_translations_gedmo
field-type as described in the documentation.Further you need to specify the translatable class in the options-array like this: