I find Yii2 documentation seriously lacking in documentation about i18n, particularly about using database instead of files for the translation messages.
I see documentation (EDIT: sorry, this was the link I meant) mentions the DbMessageSource class and somewhere else I found that the db tables should be named source_message
and message
but nowhere does it tell me the schema for those tables! And the yii message/extract
command doesn't seem to auto-create the tables either.
How do I go about this?