Y
Y
Yuri2014-06-08 02:00:09
symfony
Yuri, 2014-06-08 02:00:09

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

3 answer(s)
Y
Yuri, 2014-06-08
@Stmol

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.

A
Alexander, 2014-06-08
@morontt

There are also DoctrineExtensions , namely Translatable . Easily integrated into Symfony2 via StofDoctrineExtensionsBundle

K
keltanas, 2014-06-10
@keltanas

In the book it is written

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question