Fix notice in _install_prepare_import() due to alternate approach to translations

Created on 7 December 2023, 3 months ago
Updated 12 February 2024, 12 days ago

Problem/Motivation

The locale deploy β†’ allows a site to manage all of its translation deployments via it's own project repository and prevent the translation system from getting translations from localize.drupal.org outside of its own Drush commands. One of the things it does is remove the version information from translation files. This results a warning in _install_prepare_import() due to assumptions that code makes.

Steps to reproduce

  1. Install minimal
  2. Enable locale_deploy module
  3. Add a language
  4. Run drush locale-deploy:localize-translations
  5. Import the site from configuration drush si --existing-config

Proposed resolution

There's nothing for this code to do in this situation.

Remaining tasks

User interface changes

None

API changes

None

Data model changes

None

Release notes snippet

N/a

πŸ› Bug report
Status

Fixed

Version

11.0 πŸ”₯

Component
InstallΒ  β†’

Last updated less than a minute ago

No maintainer
Created by

πŸ‡¬πŸ‡§United Kingdom alexpott πŸ‡ͺπŸ‡ΊπŸŒ

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

Merge Requests

Comments & Activities

Production build https://api.contrib.social 0.61.6-2-g546bc20