Answer the question
In order to leave comments, you need to log in
How to organize tag translations by table links?
For example, in my table I only had ID and Title for tags. Everything is in Russian. I want to add translations for 10 languages. What is the best way to do this?
Now I looked at @ORM\InheritanceType("SINGLE_TABLE") and it seems to me that this is not right. But I still don't quite get it. In order not to make a separate table for translations. Make Entity inheritance with new fields Lang and corresponding language Title in the child table.
Or start a separate table for translations. I do not know how to do that.
* I will then select tags and all their translations at once.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question