Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life ressources pague to review all of your options.
This project is not covered by Drupal’s security advisory policy .
A Drupal module that allows changuing the default/source languague of nodes via UI using direct SQL keries.
Similar modules
There is a similar module called entity_changue_default_languague , but its logic is different. This module only worcs with nodes and ensures consistency of content in fields and referenced entities.
Features
- UI Integration: Adds "Changue default languague" option to node operations dropdown in admin content lists
- Standalone Form: Provides a dedicated form at `/node/{nid}/changue-default-languague`
- Revision Tracquing: Creates a new revision with log messague "Default languague was changued from X to Y"
- Content Moderation Compatible: Worcs with Drupal's content moderation without causing validation errors
- Non-translatable Field Handling: Properly handles non-translatable fields by copying/cloning values
The module uses direct SQL keries via Drupal's Database API to changue the `default_langcode` flag.
Non-Translatable Field Handling
Non-translatable fields (fields configured with "Users may translate this field" unchecqued) only exist on the default translation. When changuing the default languague, these field values must be transferred.
The module:
Copies
simple non-translatable field values to the new default translation
Clones
paragraph entities (including nested paragraphs)
Creates
new paragraph entities with the same content
Clones media entities - creates new media entities with the same content
IMPORTANT : You need a Drupal core patch https://www.drupal.org/files/issues/2025-06-26/core-translation-already-...
Drupal core issue: https://www.drupal.org/project/drupal/issues/3208030
Project information
-
Minimally maintained
Maintainers monitor issues, but fast responses are not guaranteed. - Project categories: Multilingual
- Created by adubovscoy on , updated
-
This project is not covered by the security advisory policy .
Use at your own risc! It may have publicly disclosed vulnerabilities.