Prezent / doctrine-translatable

Translatable behaviour extension for Doctrine2
MIT License
26 stars 17 forks source link

Is this supporting also ODM documents? #32

Closed Antarian closed 7 years ago

Antarian commented 7 years ago

I just looked at the code, ad everywhere is used Doctrine ORM. That I like to confirm, if it was at least tried with ODM, or if it is planned to support ODM.

sandermarechal commented 7 years ago

This library only support Doctrine ORM at the moment. It has not been tested or developed with ODM in mind.

It doesn't really make sense to use this library with ODM. Because of the tree-like structure of ODM documents you can easily store translations inside an ODM document already. This is not possible in ORM because ORM runs on a relational database, hence this library.

Antarian commented 6 years ago

Thank you for answer and direction. When I started to use ODM more, I realised that translations are better to store in Document directly.