Hi guys. I'm trying to create CMS Page by hand in php (from component method). (main goal is to create page from frontend) I can achieve this with:
$page = new Cms\Classes\Page($attributes);
$page->save();
But how can i create Page with translations (Using translation plugin). I think i just need to add viewBag component with translations values. But i don't know how to set page content. I have content key in $attributes but it doesn't work.