a2lix/TranslationFormBundle — pull request #157 by scheb (2014-09-11 15:16:14+00:00)
Title: Fetch translation class from getTranslation(Entity)Class

This pull request uses the `getTranslationEntityClass` from KNP or the `getTranslationClass` from Gedmo, instead of forcing the user to name their translation classes "[ClassName]Translation". As a fallback it still assumes that the standard naming convention.

This also fixes a problem with entity inheritance. In one of my projects I have an abstract entity "Item", which makes use of translations and another entity named "Weapon", which inherits from it. Unfortunatley the TranslationFormBundle assumes the translation class being called WeaponTranslation instead of ItemTranslation and there is no way to change this behaviour :(

Would be nice if you could merge it or give me some feedback how to solve that problem.