/** * Runs import of xliff files to the mlp and creates new sites in multisite environment if doesn't exists. */ private function do_xliff2mlp() { $zip_file = $this->xliff_extractor->check_and_get_xliff_zip($_FILES['xliff_translations']); if (!$zip_file) { self::$xliff_message = "Please select correct file for upload."; return; } self::check_sites(); self::create_posts($this->xliff_extractor->extract($zip_file)); }