Skip to content

Conversation

@dustsucker
Copy link

Fixed Virtual Pages content Translation Issue

class.php changed:
$this->_setPageLanguage($page, $languageCode, false); to $this->_setPageLanguage($page, $languageCode);
as it now properly sets the languages for Virtual Pages

Description/Motivation

So I Stumbled upon a Problem generation our Multipage project. We have a few Plugins That use Virtual Pages and Multi Language Support now I created a script to load the Pages into the static site generator. It works fine, but the Translations didn't seem to work. I debugged a little bit and this was the first working version.

Testing

So I just tested it With a Script and Custom Routes.

Related issue

New

Fixed Virtual Pages content Translation Issue
@dustsucker dustsucker marked this pull request as draft July 10, 2024 10:45
@dustsucker
Copy link
Author

I found a page where the fix does not work.

@dustsucker dustsucker marked this pull request as ready for review July 10, 2024 10:52
@dustsucker
Copy link
Author

The not Page where it was not fixed was a fluke. It was cached and now it works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant