New Drush command for developers for extracting translations of custom module, theme or profile

Created on 28 April 2024, 8 months ago
Updated 16 September 2024, 3 months ago

Problem/Motivation

As a developer I want to extract translations with a simple Drush command for one custom project (module/theme/profile) or all custom projects within a Drupal site setup.

Steps to reproduce

  1. Create a custom module with translatable strings within a multilingual setup.
  2. Extract translations for that module with one easy to use Drush command.
  3. Commit the module with the translations.

Proposed resolution

Port https://gist.github.com/TessBakker/34def66fa3679422dd437005e1d61b78 over to this module

Remaining tasks

  1. Create merge request
  2. Find a solution to display errors in a more readable way
  3. Create test
  4. Fix related issues within parent 🌱 [Plan] Create a new and better Drush Extract Translation Command for developers Active
  5. Merge mr

User interface changes

Feature request
Status

Needs work

Version

1.0

Component

Code

Created by

🇳🇱Netherlands tess bakker

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024