title: Is it possible to add translation variables automatically in Laravel?
body: <p>I've got a few blades and I have included there many appeals like this:</p>
  <pre><code>    &lt;div&gt;{{ __('auth.Example') }}&lt;/div&gt;
      &lt;a href='#'&gt;{{ __('xyz.Another One Example') }}&lt;/a&gt;
      &lt;span&gt;{{ __('xyz.Example Number Three') }}&lt;/span&gt;
      ...
  </code></pre>
  <p>I added <code>xyz.php</code> and <code>auth.php</code> files to <code>lang/en</code> and <code>lang/pl</code> directories. Now I'm wondering, <strong>is it possible to use some command or method, which will add to these files proper variables to refill?</strong>
  I don't except ready translation, but something like that would be appreciated:</p>
  <p><strong>xyz.php</strong></p>
  <pre><code>return [
  ...
  'Another One Example' =&gt; 'Another One Example',
  'Example Number Three' =&gt; 'Example Number Three',
  ...
  ];
  </code></pre>
  <p><strong>auth.php</strong></p>
  <pre><code>return [
  ...
  'Example' =&gt; 'Example'
  ...
  ];
  </code></pre>
  <p>After that I could quickly change translation values for proper languages, but firstly I need to have right variables in proper files. For now I'm copying every single variable to proper file manually, but it feels like an eternity... Have you any ideas, how could I do it easier?</p>