Make the module compatible with Drupal 9

Created on 6 January 2022, over 3 years ago
Updated 26 July 2025, 8 days ago

Problem/Motivation

The code on the branch 8.x-1.x doesn't work on Drupal 9

Steps to reproduce

Type:
composer require 'drupal/locale_translation_context:1.x-dev@dev'

And you will get this error:
- drupal/locale_translation_context dev-1.x requires drupal/core ^8 -> found drupal/core[8.0.0-beta6, ..., 8.9.x-dev] but the package is fixed to 9.3.2 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.

Proposed resolution

Adaptation of the code

Remaining tasks

Correct the part of the code which is ignore by PHP Mess Detector

User interface changes

For exporting, we can choose one or several contexts (html select multiple)

API changes

None

Data model changes

None

📌 Task
Status

Closed: outdated

Version

1.0

Component

Code

Created by

🇫🇷France ldo_dev

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024