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

Created on 7 December 2023, 6 months ago
Updated 12 February 2024, 4 months 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 5 days 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 0.69.0 2024