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 want to translate a node from the overview you'll stay in the language you are currently using.
This can cause troubles when you have a field: multilingual taxonomy reference (for example).
When the language (in the url) doesn't switch, you can suddenly create nodes with the taxonomy fields (as a reference) while that taxonomy fields is in the wrong language (the language drupal is currently using).
domain.com/nl
=> translate to 'En' for example
=> your new url will be domain.com/nl/node/x/...
While it should be domain.com/en/node/x/...
Patch is in attachment.
Comment | File | Size | Author |
---|---|---|---|
patch.diff | 717 bytes | Gleach |
Comments
Comment #1
Gleach CreditAttribution: Gleach commentedComment #2
Gleach CreditAttribution: Gleach commentedComment #3
SenneS CreditAttribution: SenneS at iO commentedI tried the patch and changed the URL correctly!
Comment #4
stefan.r CreditAttribution: stefan.r commentedThanks for the patch, RTBC++
Comment #5
Gleach CreditAttribution: Gleach at Calibrate commentedYou're welcome.
Comment #6
stefan.r CreditAttribution: stefan.r commentedCommitted and will be included in 2.0-beta2, thanks!