{"action":"created","issue":{"url":"https://api.github.com/repos/yiisoft/yii2/issues/8777","labels_url":"https://api.github.com/repos/yiisoft/yii2/issues/8777/labels{/name}","comments_url":"https://api.github.com/repos/yiisoft/yii2/issues/8777/comments","events_url":"https://api.github.com/repos/yiisoft/yii2/issues/8777/events","html_url":"https://github.com/yiisoft/yii2/issues/8777","id":87993026,"number":8777,"title":"Strange behaviour of $this->title","user":{"login":"turalsprofile","id":724507,"avatar_url":"https://avatars.githubusercontent.com/u/724507?v=3","gravatar_id":"","url":"https://api.github.com/users/turalsprofile","html_url":"https://github.com/turalsprofile","followers_url":"https://api.github.com/users/turalsprofile/followers","following_url":"https://api.github.com/users/turalsprofile/following{/other_user}","gists_url":"https://api.github.com/users/turalsprofile/gists{/gist_id}","starred_url":"https://api.github.com/users/turalsprofile/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/turalsprofile/subscriptions","organizations_url":"https://api.github.com/users/turalsprofile/orgs","repos_url":"https://api.github.com/users/turalsprofile/repos","events_url":"https://api.github.com/users/turalsprofile/events{/privacy}","received_events_url":"https://api.github.com/users/turalsprofile/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/yiisoft/yii2/labels/status:need%20more%20info","name":"status:need more info","color":"d4c5f9"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-13T11:59:42Z","updated_at":"2015-06-15T14:08:24Z","closed_at":null,"body":"I'm using database based i18n. Config looks like this\r\n\r\n        'i18n' => [\r\n            'translations' => [\r\n                '*' => [\r\n                    'class' => 'yii\\i18n\\DbMessageSource',\r\n                    'sourceLanguage' => 'en',\r\n                    'sourceMessageTable' => 'source_message',\r\n                    'messageTable' => 'message',\r\n                ],\r\n            ],\r\n        ],\r\n\r\n\r\nWhen I write something like this \r\n\r\n     $this->title = Yii::t(\"app\", \"test\");\r\n\r\n`./yii message/extract` command doesn't recognize it and insert it into database. \r\n\r\nEven if I manually insert this message into database and put differenet values for each language, $this->title reads value as just `test`\r\n\r\nQuestion is, why? What am I doing wrong?"},"comment":{"url":"https://api.github.com/repos/yiisoft/yii2/issues/comments/112082206","html_url":"https://github.com/yiisoft/yii2/issues/8777#issuecomment-112082206","issue_url":"https://api.github.com/repos/yiisoft/yii2/issues/8777","id":112082206,"user":{"login":"lynicidn","id":7407411,"avatar_url":"https://avatars.githubusercontent.com/u/7407411?v=3","gravatar_id":"","url":"https://api.github.com/users/lynicidn","html_url":"https://github.com/lynicidn","followers_url":"https://api.github.com/users/lynicidn/followers","following_url":"https://api.github.com/users/lynicidn/following{/other_user}","gists_url":"https://api.github.com/users/lynicidn/gists{/gist_id}","starred_url":"https://api.github.com/users/lynicidn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lynicidn/subscriptions","organizations_url":"https://api.github.com/users/lynicidn/orgs","repos_url":"https://api.github.com/users/lynicidn/repos","events_url":"https://api.github.com/users/lynicidn/events{/privacy}","received_events_url":"https://api.github.com/users/lynicidn/received_events","type":"User","site_admin":false},"created_at":"2015-06-15T14:08:24Z","updated_at":"2015-06-15T14:08:24Z","body":"u should override `app` and `yii` categories, `*` check of end."}}