title: adding i18n functionality in laminas
body: <p>New to Laminas, I am following the tutorial "Getting started: A skeleton application".</p>
  
  <p>Close to the end, I am figuring out that I probably answered "no" to the install question about i18n and here I am with a Fatal error: Uncaught Laminas\I18n\Exception\ExtensionNotLoadedException...</p>
  
  <p>The issue should be solved with [Github]<a href="https://github.com/laminas/laminas-mvc-i18n" rel="nofollow noreferrer">https://github.com/laminas/laminas-mvc-i18n</a> and with the component installer. But I still have the error, even after restarting Apache.</p>
  
  <p>Looking back at the installation of the laminas component installer and laminas-mvc-i18n everything looks to be fine. So what?</p>
  
  <p>EDIT 1
  Maybe I did not read properly?
  Here is the full error:</p>
  
  <blockquote>
    <p>Fatal error: Uncaught Laminas\I18n\Exception\ExtensionNotLoadedException: Laminas\I18n\Translator component requires the intl PHP extension in C:\xampp\htdocs\laminas-mvc-skeleton\vendor\laminas\laminas-i18n\src\Translator\Translator.php:258 Stack trace: #0 C:\xampp\htdocs\laminas-mvc-skeleton\vendor\laminas\laminas-i18n\src\Translator\Translator.php(354): Laminas\I18n\Translator\Translator->getLocale() #1 C:\xampp\htdocs\laminas-mvc-skeleton\vendor\laminas\laminas-mvc-i18n\src\Translator.php(71): Laminas\I18n\Translator\Translator->translate('Laminas MVC Ske...', 'default', NULL) #2 C:\xampp\htdocs\laminas-mvc-skeleton\vendor\laminas\laminas-view\src\Helper\HeadTitle.php(163): Laminas\Mvc\I18n\Translator->translate('Laminas MVC Ske...', 'default') #3 C:\xampp\htdocs\laminas-mvc-skeleton\vendor\laminas\laminas-view\src\Helper\HeadTitle.php(86): Laminas\View\Helper\HeadTitle->Laminas\View\Helper{closure}('Laminas MVC Ske...') #4 C:\xampp\htdocs\laminas-mvc-skeleton\vendor\laminas\laminas-view\src\Helper\HeadTitle.php(70): in C:\xampp\htdocs\laminas-mvc-skeleton\vendor\laminas\laminas-i18n\src\Translator\Translator.php on line 258</p>
  </blockquote>
  
  <p>So the problem lies in the translator. Which translator? I only use English.</p>
  
  <p>EDIT 2</p>
  
  <p>So I tried again using a new install from scratch. This time I confirmed yes to all options i.e. I replied positively when asked to install i18n and all other options. </p>
  
  <p>And I tested with the Built-in PHP web Server instead of Apache. </p>
  
  <p>The result is the same error!</p>
  
  <p>EDIT 3</p>
  
  <p>List of extensions I have in composer.json</p>
  
  <pre><code>    "laminas/laminas-component-installer": "^1.0 || ^2.1",
      "laminas/laminas-development-mode": "^3.2",
      "laminas/laminas-mvc": "^3.1.1",
      "laminas/laminas-cache": "^2.9.0",
      "laminas/laminas-db": "^2.10.0",
      "laminas/laminas-mvc-form": "^1.0",
      "laminas/laminas-json": "^3.1.2",
      "laminas/laminas-log": "^2.11",
      "laminas/laminas-mvc-console": "^1.2.0",
      "laminas/laminas-mvc-i18n": "^1.1.1",
      "laminas/laminas-mvc-plugins": "^1.0.1",
      "laminas/laminas-psr7bridge": "^1.2.0",
      "laminas/laminas-session": "^2.9.1",
      "laminas/laminas-di": "^3.1.1"
  </code></pre>