webfactory / WebfactoryPolyglotBundle

Symfony bundle simplifying translations in Doctrine.
MIT License
3 stars 2 forks source link

Add section to documentation about migrating from DoctrineBehaviors #63

Open tacman opened 3 months ago

tacman commented 3 months ago

I'm probably not the only one that is migrating from DoctrineBehaviors, since it doesn't support Symfony 7. I used to use Doctrine Extensions but it didn't work with EAGER fetches so generated thousands of queries when browsing a list.

Nonetheless, the documentation is pretty good, and could be a model for this bundle.

https://github.com/KnpLabs/DoctrineBehaviors/blob/master/docs/translatable.md

It'd be nice to see some notes about migrating from these packages.

janopae commented 3 months ago

I think, at webfactory, we never used the Translatable Doctrine behaviour. So we don't encounter any real-world examples of this kind of migration – but I think this would be necessary in order to create some realiable documentation that covers all the pitfalls and so on.

If you have any migrations from Doctrine Behavior Translatable to come, we'd be very thankful if you took some notes and submitted some sort of migration guide as a PR. :)

tacman commented 3 months ago

I'd love to, as soon as I can get something, anything, to work. I'm good at following documentation, but I don't think the README is accurate.

On Thu, Apr 25, 2024, 11:37 AM Jano Paetzold @.***> wrote:

I think, at webfactory, we never used the Translatable Doctrine behaviour. So we don't encounter any real-world examples of this kind of migration – but I think this would be necessary in order to create some realiable documentation that covers all the pitfalls and so on.

If you have any migrations from Doctrine Behavior Translatable to come, we'd be very thankful if you took some notes and submitted some sort of migration guide as a PR. :)

— Reply to this email directly, view it on GitHub https://github.com/webfactory/WebfactoryPolyglotBundle/issues/63#issuecomment-2077594436, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEXIQKEDU3VG2PIVFMTLHTY7EPKHAVCNFSM6AAAAABF6OZU3GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZXGU4TINBTGY . You are receiving this because you authored the thread.Message ID: @.***>