Questions tagged [a2lix-translation]
50 questions
1
vote
2 answers
A2LiX Translation Form labels options
I'm using KnpLabs/DoctrineBehaviors/Translatable and A2LiX Translation Form to translate my entities in a Symfony application. It works very well. However, when the form is rendered there is a "translations" title that I would like to delete and a…

ana-lu
- 269
- 1
- 3
- 12
1
vote
1 answer
Undefined index: translationClass in GedmoTranslationForm
I use
composer.json
"symfony/symfony": "2.6.*",
"doctrine/orm": "~2.2,>=2.2.3,<2.5",
"doctrine/dbal": "<2.5",
"doctrine/doctrine-bundle": "~1.2",
"stof/doctrine-extensions-bundle": "~1.1@dev",
"a2lix/translation-form-bundle":…

Developer
- 2,731
- 2
- 41
- 71
1
vote
1 answer
Sonata Admin - A2LiX Translation Field + Sonata Formatter Type
I've plugged Formatter (with CKeditor) to the 'content' field in one of my Sonata's Admin classes. This 'content' also has a translation, that's editable through 'a2lix_translations_gedmo' translations type. I've been trying to add CKeditor to this…

Damaged Organic
- 8,175
- 6
- 58
- 84
1
vote
0 answers
Edit multiple languages column at the same time
I am using translatable table by doctorine2 extension
I have successfully implemented input and output data for each languages.
However I would like to edit the multiple language at the same time.
like this below
this codes is not correct, however…

whitebear
- 11,200
- 24
- 114
- 237
1
vote
1 answer
Symfony 2 knplabs form translation - best way to change the referenceColumName
A2lix required 'id' as referenceColumName. But I've entities with a different columName (e.g. ProductID instead of id). So I get error when I try to update my DB via doctrine:schema:update --force.
Example of my entity
class Period
{
use…

Benjamin Lucas
- 370
- 5
- 20
1
vote
0 answers
A2lix Translation Form Bundle can not validate
I use the A2lix Translation Form Bundle to realize database translation of entities. I create a entity page, which look like this:
class Page
{
/**
* Must define for translating this entity
*/
use…

smartcoderx
- 1,021
- 2
- 14
- 32
1
vote
1 answer
sf 2.6 A2LiX entityTranslation doesn't found
I just want to make a multilingual application site so I red and saw translatable and other bundle.
I use translatable and a2lix... so I read the doc but when I try to use a2lix, I get this error message :
Class…

Benjamin Lucas
- 370
- 5
- 20
1
vote
1 answer
Knp\DoctrineBehaviors + a2lix_translations + Sonata Admin
I set up my entities same as https://github.com/KnpLabs/DoctrineBehaviors#translatable . Also configs same as http://a2lix.fr/bundles/translation-form/ . Also I add __call method and try to implement How to print translatable data in sonata admin…

Stopper
- 566
- 4
- 11
1
vote
2 answers
A2LiX Translation Form - no errors printed
I work with Symfony 2.4, KnpLabs DoctrineBehaviors bundle for translation in database, and A2LiX Translation Form for fields translation.
Form display and insertion in database work fine but errors for translation fields are not printed.
For example…

user3497387
- 11
- 2
1
vote
1 answer
Right way to translate collection with A2lix
I have 2 entities Category and Criteria, the relation between category and criteria is an OneToMany (bidirectional relation). Without translation I don't have any problems for manage the form (CategoryType and CriteriaType), etc.
Category and…

Kev
- 171
- 2
- 19
0
votes
1 answer
How to use the text editor type for a translated type with EasyAdmin 2 and A2lix TranslationFormBundle
In the example below, the SetTranslation entity has a field introduction (type="text") which is displayed in forms using a simple textarea.
How to configure a text field to use the text_editor (only known by EasyAdmin) with a translated field ?
Here…

prossel
- 111
- 1
- 7
0
votes
1 answer
how to write and parse an a2l file
I need some help from the community. I'm trying to write a macro in vba that allows me to generate an a2l file. I found some guides on the net but it is not enough. It's my very first approaching and I find them unclear.
I ask you if anyone can help…
0
votes
1 answer
EasyAdmin 3 Translation Error, The Doctrine type of the "translations" field is "4", which is not supported by EasyAdmin yet
I am using symfony 5.2 and Easyadmin 3. I try to implement translation with A2Lix bundle in easyadmin at that time i got error like:
The Doctrine type of the "translations" field is "4", which is not
supported by EasyAdmin yet.
I have checked with…

Yagnesh Makwana
- 301
- 2
- 11
0
votes
1 answer
How to manage translations in Sonata admin using KNP translation behaviour
I am using KNP doctrine behaviours for translations. It works from fixtures but does not works in Sonata admin at all.
My last issue is "Unable to find the association target class of "translations" in ...".
Form form widget i am using…

Gansky Alexander
- 39
- 4
0
votes
0 answers
ContraintViolation after upgrade Symfony from 4.2 to 4.3
I'm using a2lix_translation with KnpDoctrineExtension.
I have a problem when create or update a record. Before upgrade Symfony to 4.3 works perfectly.
Now I've got this error ConstraintViolation:
Path: data.defaultLocale
Message: "This value should…

Battista
- 1
- 1