Drupal is a registered trademark of Dries Buytaert
drupal 10.6.8 Update released for Drupal core (10.6.8)! drupal 11.3.9 Update released for Drupal core (11.3.9)! drupal 11.3.8 Update released for Drupal core (11.3.8)! drupal 11.3.7 Update released for Drupal core (11.3.7)! drupal 11.2.11 Update released for Drupal core (11.2.11)! drupal 10.6.7 Update released for Drupal core (10.6.7)! drupal 10.5.9 Update released for Drupal core (10.5.9)! cms 2.1.1 Update released for Drupal core (2.1.1)! drupal 11.3.6 Update released for Drupal core (11.3.6)! drupal 10.6.6 Update released for Drupal core (10.6.6)! cms 2.1.0 Update released for Drupal core (2.1.0)! linkit 7.0.15 Minor update available for module linkit (7.0.15). views_data_export 8.x-1.10 Minor update available for module views_data_export (8.x-1.10). linkit 7.0.14 Minor update available for module linkit (7.0.14). migrate_tools 6.1.4 Minor update available for module migrate_tools (6.1.4). diff 2.0.0 Major update available for module diff (2.0.0). masquerade 8.x-2.2 Minor update available for module masquerade (8.x-2.2). video_embed_field 3.1.0 Minor update available for module video_embed_field (3.1.0). bootstrap 8.x-3.40 Minor update available for theme bootstrap (8.x-3.40). menu_link_attributes 8.x-1.7 Minor update available for module menu_link_attributes (8.x-1.7).

drush_pet

No security coverage
View on drupal.org

This project provides a developer-friendly way to extract translation strings from custom Drupal codebases using Drush, building on the POTX ecosystem.

Features

  • Adds a custom Drush command (pet) to export translations.
  • Supports extracting strings from modules, themes, and installation profiles.
  • Enables both single-project and bulk extraction workflows.

You would use this module when you need a fast, easy and repeatable way to generate translation files without navigating UI tools.

Post-Installation

The module contains only a Drush Command, make sure the module is only active on a development environment.

Additional Requirements

POTX module (Translation template extractor)

Similar projects

Translation Bliss; Centralizes translations.

Project status / long-term outlook

This project exists as a workaround for limitations in the POTX module. If the issue https://www.drupal.org/project/potx/issues/3444016 is resolved in POTX, the need for this module may disappear. In that case, the functionality provided here should ideally be handled natively by POTX, and this project would no longer be necessary.

Activity

Total releases
1
First release
May 2026
Latest release
22 hours ago
Release cadence
Stability
0% stable

Releases

Version Type Release date
1.0.x-dev Dev May 15, 2026