Answer the question
In order to leave comments, you need to log in
How to organize the addition of multilingual data in Yii2?
Hello again.
Using this manual, I integrated multilingualism into my application.
Now the question is: how to flexibly and competently implement adding data? Exactly those. part worries.
Thanks in advance.
Answer the question
In order to leave comments, you need to log in
Have you already read https://github.com/LAV45/yii2-translated-behavior/... ?
Here is a step by step guide.
When creating a new entry, all text will be saved as en. When editing the ru translation, you will see the text added as en, because if there is no translation, the base translation will be used. Translate the desired text and save. The text will be added as a translation for the ru language.
Recently completed a demo site
https://yii2-translated-behavior.herokuapp.com
https://github.com/LAV45/yii2-translated-behavior-demo
Here you can peep all the connection redals.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question