commun
(Magezisagesse)
September 17, 2015, 5:09pm
1
Hello; first all thanks for paying attention;
1.I read definitive guide yii 2 but could not find an example for i18n from database so I really don’t know how to do it
2.I would like to put a combobox so that whenever the user select a language the application be reloaded in the selected language.
Thanks!
Bushi
(Pedroguarimata)
September 17, 2015, 5:43pm
2
hi commun
you can get information tutorial-i18n
another tutorial tutorial
i hope u help
commun
(Magezisagesse)
September 21, 2015, 5:09pm
3
i read those articles but the problem is they are not explaining how to use database(an example) as message source and what I want is to use database as message source
Bushi
(Pedroguarimata)
September 21, 2015, 5:47pm
4
hi again common
so, in yii2 i never use the db for store translation messages
but i read the guide and see this part:
you should change the settings to use yii-i18n-dbmessagesource, now i haven’t time to make an example , sorry.
here a error config issue yii2/issues/1239
commun
(Magezisagesse)
September 22, 2015, 5:59am
5
Thanks again!!! I read that part but the main problem is implementation(how to use that Dbmessagesource class in practice.