integer-net/magento2-german-umlaut-urls

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

Installs: 60 061

Dependents: 0

Suggesters: 1

Security: 0

Stars: 10

Watchers: 13

Forks: 1

Open Issues: 1

Type:magento2-module

1.1.1 2020-05-15 13:40 UTC

This package is auto-updated.

Last update: 2024-11-16 02:01:29 UTC


README

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.