protected function prepareFiles($langcode)
    {
        if (empty($langcode) || $langcode === 'en') {
            return $this->prepared = false;
        }

        $main_file = $this->getFile($langcode);

        if (!is_file($main_file)) {
            return $this->prepared = false;
        }

        $dir = $this->getCompiledDirectory();

        if (!file_exists($dir) && !mkdir($dir, 0775, true)) {
            return $this->prepared = false;
        }

        $common_file = $this->getCommonFile($langcode);

        if (is_file($common_file)) {
            return $this->prepared = true;
        }

        $directory = dirname($common_file);

        if (!file_exists($directory) && !mkdir($directory, 0775, true)) {
            return $this->prepared = false;
        }

        return $this->prepared = copy($main_file, $common_file);
    }