title: Yii2 grid-view install. Unable to locate message source for category 'kvgrid'
body: <p>I've downloaded yii2-grid-master from <a href="https://github.com/kartik-v/yii2-grid" rel="nofollow">here</a></p>
  
  <p>According to readme.md
  I've installed composer and din this in my console:</p>
  
  <pre><code>php composer.phar require kartik-v/yii2-grid "@dev"
  </code></pre>
  
  <p>now I try to use it according to docs. I put this in my view:</p>
  
  <pre><code>use kartik\grid\GridView;
  $gridColumns = [
      ['class' =&gt; 'kartik\grid\SerialColumn'],
      [
          'class' =&gt; 'kartik\grid\EditableColumn',
          'attribute' =&gt; 'name',
          'pageSummary' =&gt; 'Page Total',
          'vAlign'=&gt;'middle',
          'headerOptions'=&gt;['class'=&gt;'kv-sticky-column'],
          'contentOptions'=&gt;['class'=&gt;'kv-sticky-column'],
          'editableOptions'=&gt;['header'=&gt;'Name', 'size'=&gt;'md']
      ],
      [
          'attribute'=&gt;'color',
          'value'=&gt;function ($model, $key, $index, $widget) {
              return "&lt;span class='badge' style='background-color: {$model-&gt;color}'&gt; &lt;/span&gt;  &lt;code&gt;" . 
                  $model-&gt;color . '&lt;/code&gt;';
          },
          'filterType'=&gt;GridView::FILTER_COLOR,
          'vAlign'=&gt;'middle',
          'format'=&gt;'raw',
          'width'=&gt;'150px',
          'noWrap'=&gt;true
      ],
      [
          'class'=&gt;'kartik\grid\BooleanColumn',
          'attribute'=&gt;'status', 
          'vAlign'=&gt;'middle',
      ],
      [
          'class' =&gt; 'kartik\grid\ActionColumn',
          'dropdown' =&gt; true,
          'vAlign'=&gt;'middle',
          'urlCreator' =&gt; function($action, $model, $key, $index) { return '#'; },
          'viewOptions'=&gt;['title'=&gt;$viewMsg, 'data-toggle'=&gt;'tooltip'],
          'updateOptions'=&gt;['title'=&gt;$updateMsg, 'data-toggle'=&gt;'tooltip'],
          'deleteOptions'=&gt;['title'=&gt;$deleteMsg, 'data-toggle'=&gt;'tooltip'], 
      ],
      ['class' =&gt; 'kartik\grid\CheckboxColumn']
  ];
  echo GridView::widget([
      'dataProvider' =&gt; $dataProvider,
      'filterModel' =&gt; $searchModel,
      'columns' =&gt; $gridColumns,
      'containerOptions' =&gt; ['style'=&gt;'overflow: auto'], // only set when $responsive = false
      'beforeHeader'=&gt;[
          [
              'columns'=&gt;[
                  ['content'=&gt;'Header Before 1', 'options'=&gt;['colspan'=&gt;4, 'class'=&gt;'text-center warning']], 
                  ['content'=&gt;'Header Before 2', 'options'=&gt;['colspan'=&gt;4, 'class'=&gt;'text-center warning']], 
                  ['content'=&gt;'Header Before 3', 'options'=&gt;['colspan'=&gt;3, 'class'=&gt;'text-center warning']], 
              ],
              'options'=&gt;['class'=&gt;'skip-export'] // remove this row from export
          ]
      ],
      'toolbar' =&gt;  [
          ['content'=&gt;
              Html::button('&amp;lt;i class="glyphicon glyphicon-plus"&gt;&amp;lt;/i&gt;', ['type'=&gt;'button', 'title'=&gt;Yii::t('kvgrid', 'Add Book'), 'class'=&gt;'btn btn-success', 'onclick'=&gt;'alert("This will launch the book creation form.\n\nDisabled for this demo!");']) . ' '.
              Html::a('&amp;lt;i class="glyphicon glyphicon-repeat"&gt;&amp;lt;/i&gt;', ['grid-demo'], ['data-pjax'=&gt;0, 'class' =&gt; 'btn btn-default', 'title'=&gt;Yii::t('kvgrid', 'Reset Grid')])
          ],
          '{export}',
          '{toggleData}'
      ],
      'pjax' =&gt; true,
      'bordered' =&gt; true,
      'striped' =&gt; false,
      'condensed' =&gt; false,
      'responsive' =&gt; true,
      'hover' =&gt; true,
      'floatHeader' =&gt; true,
      'floatHeaderOptions' =&gt; ['scrollingTop' =&gt; $scrollingTop],
      'showPageSummary' =&gt; true,
      'panel' =&gt; [
          'type' =&gt; GridView::TYPE_PRIMARY
      ],
  ]);
  </code></pre>
  
  <p>And when I go there, I get following error:</p>
  
  <pre><code>Unable to locate message source for category 'kvgrid'.
  </code></pre>
  
  <p>What's wrong? Also, I didn't uploaded any souces, because I don't know where I should put it and it's not written in readme=) Also, in framework directory (vendor) I've found some kartik-v dir and tried to change kartik to kartik-v and still there wasn't propper result.Need some help.</p>
  
  <p><strong>UPD1</strong>
  I've changed toolbar to:</p>
  
  <pre><code>'toolbar' =&gt;  [
  ['content'=&gt;
      Html::button('&amp;lt;i class="glyphicon glyphicon-plus"&gt;&amp;lt;/i&gt;', ['type'=&gt;'button', 'title'=&gt;Yii::t('app', 'Add Book'), 'class'=&gt;'btn btn-success', 'onclick'=&gt;'alert("This will launch the book creation form.\n\nDisabled for this demo!");']) . ' '.
      Html::a('&amp;lt;i class="glyphicon glyphicon-repeat"&gt;&amp;lt;/i&gt;', ['grid-demo'], ['data-pjax'=&gt;0, 'class' =&gt; 'btn btn-default', 'title'=&gt;Yii::t('app', 'Reset Grid')])
  ],
  '{export}',
      '{toggleData}'
  ], 
  </code></pre>
  
  <p>Insane Scull adviced and I receive:</p>
  
  <pre><code>The 'gridview' module MUST be setup in your Yii configuration file and must be an instance of 'kartik\grid\Module'.
  </code></pre>
  
  <p>I try to add to <code>/basic/config/web.php</code>
  to associative array <code>$config</code>an element:</p>
  
  <pre><code>/*'i18n' =&gt; [
          'translations' =&gt; [
              'app' =&gt; [
                  'class' =&gt; 'yii\i18n\PhpMessageSource',
                  'basePath' =&gt; '@app/messages',
              ],
              'kvgrid' =&gt; [
                  'class' =&gt; 'yii\i18n\PhpMessageSource',
                  'basePath' =&gt; '@app/messages',
              ],
          ]
      ],
  </code></pre>
  
  <p>but unfortunately I receive:</p>
  
  <pre><code>Setting read-only property: yii\web\Application::i18n error on the whole site.
  </code></pre>
  
  <p>What's wrong?</p>