title: Get translation text from Laravel to use in i18n nextjs
body: <p>I am building Laravel app as server side and admin panel, and NextJs as client side. I also export my translation file from laravel to use in NextJs also that in NextJs I use I18n.</p>
  <p>But when I use translation text that has parameter it not correct format with I18n</p>
  <p>for example in my translation file I have key translate</p>
  <pre><code>//file common.php
  return [
     'greeting' =&gt; 'Hi, :name'
  ]
  </code></pre>
  <p>So when I use it in laravel</p>
  <pre><code>__('common.greeting', ['name' =&gt; 'Jonh']); // result will be &quot;Hi, Jonh&quot;
  </code></pre>
  <p>But when I use it in my Nextjs</p>
  <pre><code>t('common:greeting', { name: 'Jonh' })
  </code></pre>
  <p>it display &quot;Hi, :name&quot;</p>
  <p>Does i18n has some config to make translation text from laravel can work with i18n</p>