Get rid of the ext-intl PHP extension
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3540933. --> Reported by: [murz](https://www.drupal.org/user/157092) Related to !66 >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>Now the module has a dependency on the ext-intl PHP extension, which is used in the class CommercetoolsLocalization, that may not be installed in some environments.</p> <p>For example, it makes impossible to install the module on the simpletest.me web service: <a href="https://simplytest.me/project/commercetools">https://simplytest.me/project/commercetools</a></p> <p><code>&nbsp;&nbsp;&nbsp; - drupal/commercetools 2.0.0-beta1 requires ext-intl * -&gt; it is missing from your system. Install or enable PHP's intl extension.</code></p> <h3 id="summary-proposed-resolution">Proposed resolution</h3> <p>Because localization is not the main feature of the project, it's better to get rid of this dependency, and use a Composer package or a custom implementation instead of the PHP extension.</p>
issue