Skip to main content
drupalreleases
Release: Cms 2.2.3 — Update released for Drupal core (2.2.3)! Release: Easy Breadcrumb 2.0.11 — Minor update available for module easy_breadcrumb (2.0.11). Release: Bootstrap 8.x-3.42 — Minor update available for theme bootstrap (8.x-3.42). Release: Editoria11y Accessibility Checker 3.0.10 — Minor update available for module editoria11y (3.0.10). Release: Editoria11y Accessibility Checker 2.2.24 — Minor update available for module editoria11y (2.2.24). Release: Leaflet 10.4.13 — Minor update available for module leaflet (10.4.13). Release: Flag 5.1.1 — Minor update available for module flag (5.1.1). Release: Layout Paragraphs 3.0.0-beta5 — New beta version released for module layout_paragraphs (3.0.0-beta5). Module Revived: Bootstrap 8.x-3.41 — Theme bootstrap updated after 6 months of inactivity (8.x-3.41). Security Coverage: Component Library — Module component_library now has official Drupal security advisory coverage.

Node Edit Redirect

26 sites Security covered Drupal 10–11
View on drupal.org

This module corrects the URL when editing a translated node if Drupal falls back to a different language translation. It ensures the language prefix in the edit URL matches the language of the node being edited, preventing confusion when translations are missing.

This module fixes node edit URLs when Drupal falls back to an existing
translation because the requested translation does not exist yet.

When content language negotiation is based on the URL (prefix/domain), Drupal
normally redirects to the correct language prefix when editing an existing
translation. However, when a requested translation is missing, Drupal may fall
back to another translation while keeping the requested language in the URL.
This module redirects the edit form to the URL language that matches the
translation actually being edited.

Example

1. Content language is negotiated based on prefix. See also:
https://api.drupal.org/api/drupal/includes!language.inc/group/language_n...

2. When editing an English node while the prefix is French, the following redirect will happen:

/fr/node/3 => /en/node/3

The prefix language code now matches the language of the node.

Example use cases

- When relying on the "Current user's language" option from Views in the node
edit form, such as when using the entityreference_view_widget module.

- When using the i18n_select module, and term references/entity references
only show up if the referenced entities have the negotiated content language.

- When wanting to ensure that localized taxonomy terms appear in the same
language on the edit form as they do on the node.

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
4
Tracked since
Feb 2023
Latest release
2 months ago
Releases (12 mo)
2 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Core Release date
2.0.0 Stable 10–11 Aug 7, 2026
2.x-dev Dev 10–11 Aug 7, 2026
8.x-1.0-rc4 Pre-release Feb 9, 2023
8.x-1.x-dev Dev Feb 7, 2023