Hi,

I am currently working on a multilingual application where the client would like a separate panels page for each individual language. Perhaps it is already possible, but I have not found a way to do this. Would it be possible to add the current interface language as a selection condition to the panels variant. Or does anyone here know how to accomplish this?

Sincerely,
LaravZ

CommentFileSizeAuthor
#2 panels-languageinterface-context.patch3.33 KBdkarso

Comments

LaravZ created an issue. See original summary.

dkarso’s picture

StatusFileSize
new3.33 KB

It seems Panels is missing the language interface context and language condition select in the page variant editor form. I added in a patch that adds the language interface context via an eventSubscriber. To filter on language add a page variants with a specific language condition after applying my patch.

dkarso’s picture

Status: Active » Closed (duplicate)

Closed and moved to page_manager issue board because the code is for page_manager. Page manager issue: https://www.drupal.org/node/2770653

ahmadhalah’s picture

Great solution , Thank you so much

ahmadhalah’s picture

Great solution , Thank you so much