Modules\Doptor\TranslationManager\Services\LanguageService::copyLanguageFiles PHP Method

copyLanguageFiles() private method

Copy language files from default language(en) to the newly created language
private copyLanguageFiles ( $language_code )
    private function copyLanguageFiles($language_code)
    {
        $en_language_path = $this->language_path . 'en/';
        $new_language_path = $this->language_path . $language_code . '/';
        File::copyDirectory($en_language_path, $new_language_path);
    }