Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Node change default language

No security coverage Under active development 21 sites

This module allows you to change the default language of content nodes through a user interface in the admin area. It handles changes to fields and referenced entities, and creates a new revision when the language is updated.

A Drupal module that allows changing the default/source language of nodes via UI using direct SQL queries.

Similar modules

There is a similar module called entity_change_default_language, but its logic is different. This module only works with nodes and ensures consistency of content in fields and referenced entities.

Features

  • UI Integration: Adds "Change default language" option to node operations dropdown in admin content lists
  • Standalone Form: Provides a dedicated form at `/node/{nid}/change-default-language`
  • Revision Tracking: Creates a new revision with log message "Default language was changed from X to Y"
  • Content Moderation Compatible: Works 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 queries via Drupal's Database API to change the `default_langcode` flag.

Non-Translatable Field Handling

Non-translatable fields (fields configured with "Users may translate this field" unchecked) only exist on the default translation. When changing the default language, these field values must be transferred.

The module:
Copies simple non-translatable field values to the new default translation

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

Drupal 10–11

Ask your assistant about Node change default language

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

  • content_translation Drupal core
  • language Drupal core
  • node Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
6
Tracked since
Jan 2026
Latest release
8 months ago
Releases (12 mo)
6 ▲ from 0
Maintenance
Slowing

Release Timeline

Releases

Version Type Core PHP Release date
1.1.2 Stable 10–11 Jan 21, 2026
1.1.0 Stable 10–11 Jan 21, 2026
1.1.x-dev Dev 10–11 Jan 21, 2026
1.0.1 Stable 10–11 Jan 17, 2026
1.0.0 Stable 10–11 Jan 17, 2026
1.0.x-dev Dev 10–11 Jan 17, 2026