Apply Patches
Apply patches for Subrequests and Decoupled Router modules
At the time of this writing, a patch is required in order to use multilingual features such as translation.
Note: If you're not using multilingual features such as translation, you can skip this step.
- Open your Drupal
composer.jsonfile. - Add the following patch under
"extra".
composer.json
"extra": { "patches": { "drupal/decoupled_router": { "Unable to resolve path on node in other language than default": "https://www.drupal.org/files/issues/2024-08-05/decouple_router-3111456-resolve-language-issue-63--get-translation-re-rolled-and-good-redirect.patch" } },}- Run the following command:
composer require cweagans/composer-patchesYou can read more about the patch here: