Answer the question
In order to leave comments, you need to log in
What are the ways to implement i18n for models in Symfony 2?
Actually the question is simple: are you interested in ways by which you can implement i18n (internationalization) for models in the database?
The question is about the models (or entities) stored in the database, and not about the localization of the site using the Translation component!
Answer the question
In order to leave comments, you need to log in
One of the options I found: https://github.com/KnpLabs/DoctrineBehaviors#trans...
An extension for Doctrine 2 that adds the necessary i18n behavior through traits.
There are also DoctrineExtensions , namely Translatable . Easily integrated into Symfony2 via StofDoctrineExtensionsBundle
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question