Как можно использовать динамический роут в локализации Laravel?
return array (
  'Accept Cookies' => 'Accept Cookies',
  'Cookie info' => 'Please be informed that we use cookies to enhance your user experience.
      For a complete overview of all cookies used, please see our
      <a href="'.route('frontend.pages.cookies').'" class="hero_side__link">Cookies Policy</a>
      and <a href="'.route('frontend.pages.privacy').'" class="hero_side__link">Privacy Policy</a>.',
);

Но мне кажется лучше использовать подстановки

return array (
  'Cookie info' => 'Please be informed that we use cookies to enhance your user experience.
      For a complete overview of all cookies used, please see our
      <a href=":policy_url" class="hero_side__link">Cookies Policy</a>
      and <a href=":privacy_url" class="hero_side__link">Privacy Policy</a>.',
);

{{! __('Cookie info', [
  'policy_url' => route('frontend.pages.cookies'),
  'privacy_url' => route('frontend.pages.privacy'),
]) !}}
Экранировать \'