public function importDirectory($directory, $packageHandle, $packageVersion, $basePlacesDirectory)
    {
        $parsed = $this->parser->parseDirectory($packageHandle, $packageVersion, $directory, $basePlacesDirectory, ParserInterface::DICTIONARY_NONE);
        $translations = $parsed ? $parsed->getSourceStrings() : null;
        if ($translations === null) {
            $translations = new Translations();
            $translations->setLanguage($this->app->make('community_translation/sourceLocale'));
        }

        return $this->importTranslations($translations, $packageHandle, $packageVersion);
    }