/magento2-german-umlaut-urls

Automatically converts umlauts correctly in URLs ("ä" => "ae" instead of "a").

Primary LanguagePHPMIT LicenseMIT

magento2-german-umlaut-urls

Latest Version on Packagist Software License

Purpose

The common German umlauts are automatically adapted when URLs are created. For example, an ä becomes an a, although it is common to paraphrase umlauts with an additional e, in this case ä to ae. This module solves this problem and converts umlauts correctly in URLs.

Restrictions

This module only affects the URL generation when URLs are auto-generated, i.e. when a new Product / Category / CMS Page is created, but the field "URL Key" is left empty. In that case, the URL key is being generated from the name. It doesn't affect existing Products / Categories / CMS Pages, as URL Keys are already generated for them.

Installation

  1. Install via composer
    composer require integer-net/magento2-german-umlaut-urls
    
  2. Enable module
    bin/magento setup:upgrade
    

Configuration

Zero configuration needed.

Testing

Magento Integration Tests

  1. Configure test database in dev/tests/integration/etc/install-config-mysql.php. Read more in the Magento docs.

  2. Copy Test/Integration/phpunit.xml.dist from the package to dev/tests/integration/phpunit.xml in your Magento installation.

  3. In the Magento root directory, run

    bin/magento dev:tests:run integration

Credits

License

The MIT License (MIT). Please see License File for more information.