Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When you have several languages enabled, you get the following Content path text fields (at /admin/config/search/path/patterns
) for each content type:
Default path pattern for Foobar (applies to all Foobar content types with blank patterns below)
Pattern for all language neutral Foobar paths
Pattern for all English Foobar paths
Pattern for all French Foobar paths
Pattern for all German Foobar paths
- …
(see attached screenshot)
It would be helpful if these would be visually grouped.
Why?
It's hard to get an overview; you always have to read each label carefully (language name and content type name do not stand out). The list can get pretty long if you have several languages and content types, which makes scanning/scrolling harder.
How?
Some ideas:
- a
fieldset
(with visibleborder
) andlegend
= Content type name - indent (
margin-left
) all text fields except the first ("Default path pattern for Foobar") - a
div
with a simpleborder
Comment | File | Size | Author |
---|---|---|---|
pathauto-ui-with-i18n.png | 51.04 KB | no2e |
Comments
Comment #1
no2e CreditAttribution: no2e commentedFYI, this is the issue for the introduction of the current interface/functionality: #208860: Add per-language patterns for multilingual node types
greggles wrote at that time: