Localgov guides blocks translations

Created on 6 May 2024, 8 months ago
Updated 21 May 2024, 8 months ago

We are using localgov guides module on a multilingual project and it looks like some of the blocks are not considering the node translations.

Steps to reproduce

  1. Create a guide overview page
  2. Create a couple of guide pages by using the previous overview page as parent
  3. Translate all the pages and go to the overview page translated version
  4. The guide page links are not translated and don't point to the translated versions
  5. The navigation links (prev and next) don't point to the translated versions

Proposed resolution

To update GuidesAbstractBaseBlock.php and PageHeaderSubscriber.php so that we consider the translated versions if they exist.

🐛 Bug report
Status

Fixed

Version

3.0

Component

Code

Created by

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

Comments & Activities

Production build 0.71.5 2024