Skip to content

Localgov guides blocks translations #154

@antonio93rs

Description

@antonio93rs

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

  • Create a guide overview page
  • Create a couple of guide pages by using the previous overview page as parent
  • Translate all the pages and go to the overview page translated version
  • The guide page links are not translated and don't point to the translated versions
  • 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.
    PR: Issue-3445440: making localgov guides blocks translatable #155

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions