This module redirects users that edit a node, to same the node edit form, but in the same language as the node.
Assuming the negotiated "content language" is based on URL (prefix/domain), this ensures that the "content language" matches the language of the node.
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.
Project information
- Module categories: Multilingual
- 134 sites report using this module
- Created by stefan.r on , updated
- Stable releases for this project are covered by the security advisory policy.
There are currently no supported stable releases.
Releases
Development version: 8.x-1.x-dev updated 9 Feb 2023 at 15:56 UTC
Development version: 7.x-1.x-dev updated 7 Feb 2023 at 13:20 UTC