title: Generate Yii translation message files
body: <p>I am interested to know is there a script or otherway available to collect and generate Yii translation messages in a controller/project</p>
  
  <p>Eg. If I have the following codes in a controller</p>
  
  <pre><code>Yii::t('blog', 'Your name');
  Yii::t('category', 'Category name');
  </code></pre>
  
  <p>It should generate English translation message files as blog.php and category.php with above strings in messages directory. Please let me know if somebody knows a way. Thanks</p>