Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Usage Milestone: Google Analytics Module google_analytics crossed 1,000 active installs. Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Release: GraphQL Compose Codegen 1.1.2 Minor update available for module graphql_compose_codegen (1.1.2). Release: Mapy.com 1.1.3 Minor update available for module mapycom (1.1.3). Release: Ckeditor5 entity browser 3.0.3 Minor update available for module ckeditor5_entity_browser (3.0.3). Release: Ckeditor5 entity browser 3.0.1 Minor update available for module ckeditor5_entity_browser (3.0.1). Release: Ckeditor5 entity browser 3.0.2 Minor update available for module ckeditor5_entity_browser (3.0.2). Release: Teamleader Integration 4.0.2 Minor update available for module teamleader (4.0.2). Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

Locale Deploy

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

This module allows translation strings to be managed and deployed like code and configuration. It fetches translations from localize.drupal.org and extracts custom translations from your modules, ensuring they are updated and exported as part of your site's deployment process.

Introduction

Translations for Drupal core and contrib modules come from localize.drupal.org. In traditional Drupal, you update translations by either running some Drush commands or clicking around in the UI. This gives a site little to no visibility about the new translations being added. Also it can mean that you're making changes to a live site outside a deployment. Configuration and locale strings are tied together and changes in one can result in changes in the other.

This module enables translations to follow the same deployment path as code and configuration.

Note: This is about how to deploy locale strings and does not interact in anyway with content translation.

Requirements

  • Custom code is located in modules/custom

Installation

Install as you would normally install a contributed Drupal module.

Usage

This module makes no changes to Drupal's user interface. All interaction occurs via Drush.

The module provides the following commands:

  • locale-deploy:localize-translations
  • locale-deploy:custom-translations

Additionally, the module hooks into the updatedb command to ensure that translations are updated during a drush deploy command.

The locale-deploy:localize-translations command gets translations from localize.drupal.org for your site. It places them in your local translations folder. It also updates the site's translations in the database and exports configuration so that all files are correct after the translations have been updated.

The locale-deploy:custom-translations command scans the modules/custom folder to extract any translations there. It will copy them to the custom folder in your local translations folder. There will be one file per language enabled on the site.

Depends on

Dependencies of the latest stable release

  • locale 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 2025
Latest release
1 month ago
Releases (12 mo)
4 ▲ from 2
Maintenance
Active

Release Timeline

Releases

Version Type Core Release date
1.0.3 Stable 10–11 Jul 12, 2026
2.0.0 Stable 11 Jul 12, 2026
2.x-dev Dev 11 Jul 8, 2026
1.0.2 Stable 10–11 Jul 7, 2026
1.0.1 Stable 10–11 May 16, 2025
1.0.0 Stable 10–11 Jan 15, 2025