Collect Translations From Yii::t To Database

Hello,

I did create CDbMessageSource (database) translation like it was described here http://www.yiiframework.com/doc/api/1.1/CDbMessageSource

Now i wan’t to populate “SourceMessage” table from Yii:t(‘app’, 'to translate); function, if string “to translate” not exist in db.

Is there some method to do that?

How can i write something like this?