Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Locale Deploy

Security covered Under active development 23 sites

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.

Drupal 11 · not 10

Ask your assistant about Locale Deploy

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

  • locale Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
10
Tracked since
Apr 2023
Latest release
3 months ago
Releases (12 mo)
4 ▲ from 2
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP 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
1.0.0-beta3 Pre-release 9–10 PHP >=8.0 Nov 23, 2023
1.0.0-beta2 Pre-release 9–10 PHP >=8.0 Apr 25, 2023
1.0.0-beta1 Pre-release 9–10 PHP >=8.0 Apr 25, 2023
1.0.x-dev Dev 10–11 PHP >=8.1 Apr 18, 2023