integer-net / magento2-german-umlaut-urls
Automatically converts umlauts correctly in URLs ("ä" => "ae" instead of "a").
Installs: 61 695
Dependents: 0
Suggesters: 1
Security: 0
Stars: 10
Watchers: 13
Forks: 1
Open Issues: 1
Type:magento2-module
Requires
- php: >=7.1.0
- magento/framework: >=100.0.0
Requires (Dev)
This package is auto-updated.
Last update: 2024-12-16 02:13:35 UTC
README
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
- Install via composer
composer require integer-net/magento2-german-umlaut-urls
- Enable module
bin/magento setup:upgrade
Configuration
Zero configuration needed.
Testing
Magento Integration Tests
-
Configure test database in
dev/tests/integration/etc/install-config-mysql.php
. Read more in the Magento docs. -
Copy
Test/Integration/phpunit.xml.dist
from the package todev/tests/integration/phpunit.xml
in your Magento installation. -
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.