title: How to make language routes for cakephp 3 plguin
body: <pre><code>Router::scope('/:language/employer/', ['plugin' =&gt; 'EmployerPanel'], function ($routes) {  
      $routes-&gt;prefix('employer',function ($routes) {
          $routes-&gt;connect(':language/:controller',['plugin'=&gt;'EmployerPanel']);
      });
       $routes-&gt;fallbacks('InflectedRoute');
  });
  </code></pre>
  
  <p>this must go with plugin in <strong>EmployerPanel</strong> Plugin, Pages Controller and action is home with language en.</p>
  
  <pre><code>http://localhost/mmjob/en/empoyer/pages/home
  </code></pre>
  
  <p>but it is in debug request</p>
  
  <pre><code>language   =&gt; en
  controller =&gt; Employer
  action     =&gt; pages
  pass(array)
  plugin(null)
  _matchedRoute/:language/:controller/:action/*
  _ext(null)
  </code></pre>
  
  <p>how can i do for <code>_matchedRoute = /:language/:plugin/:controller:/:action</code></p>