Get page object with choosen language

Hi all,

i want to set the content language for the page object liket his:

$page = page(‘home’, ‘en’)

Is this possible?
best regards

No, the page helper doesn’t have a language parameter.

What do you want to achieve? Display content from another language on. the site of the current language? You can set the language of the contentobject:

$pageContent = $page->content('en');
1 Like

yes, exatcly! this should work. thx alot