Home > Mobile >  How to configure a Translatable Entity in EasyAdmin?
How to configure a Translatable Entity in EasyAdmin?

Time:01-20

I'm using Translatable and EasyAdmin in a Symfony 5 project and I have configured 2 languages.

The issue is I need to be able to edit the different languages of a record in EasyAdmin, I have checked the docs of Translatable, EasyAdmin and Symfony, There is very little information about how to integrate database translations into EasyAdmin.

Therefore, I'm a bit stuck in terms of code, I have tried configuring setTranslationParameters() inside the entity CRUD controller and changing some configuration in the DashboardController however, I don't think this is the right approach.

Any suggestions of how to solve this issue? Thank you for your effort and time.

CodePudding user response:

as of writing, this feature doesn't exist in EasyAdmin, please see the link to the answer to the issue on Github.

https://github.com/EasyCorp/EasyAdminBundle/issues/4982

CodePudding user response:

There is some discussion about implementing it at https://github.com/EasyCorp/EasyAdminBundle/issues/1621

  •  Tags:  
  • Related