This module provides a Drupal 7 to Drupal 8|9 migration path for UI (User Interface) Translation strings (the one configurable from /admin/config/regional/translate, provided by the Locale module into Drupal core).

  • Original strings are migrated from the Drupal 7 locales_source table to the Drupal 8|9 locales_source table
  • Translated strings are migrated from the Drupal 7 locales_target table to the Drupal 8|9 locales_target table
  • Only strings in the "default" textgroup are migrated
  • Only strings that have a translation are migrated

If you are not familiar with migration system, you can start using this module throw the following process :

  1. Install Migrate Upgrade, Migrate Tools and Migrate Plus modules
  2. Import your Drupal 7 database into a base your Drupal 8|9 site has access
  3. Generate migration configuration using drush : drush migrate-upgrade --legacy-db-url=mysql://[mysql-user]:[mysql-password]@[mysql-host]/[drupal-7-database-name] --configure-only (specify your Drupal 7 database credentials).
  4. Go to /admin/structure/migrate and run the "Locale source" and the "Locale target" migrations
  5. Next you should find migrated translations into the /admin/config/regional/translate page.

Project information

Releases