public function getInitialTranslations(PackageVersionEntity $packageVersion, LocaleEntity $locale)
    {
        $rs = $this->app->make(TranslationExporter::class)->getPackageSelectQuery($packageVersion, $locale, false);

        return $this->buildInitialTranslations($locale, $rs);
    }
public function getInitialTranslations(PackageVersionEntity $packageVersion, LocaleEntity $locale)
    {
        $rs = $this->app->make(TranslationExporter::class)->getPackageSelectQuery($packageVersion, $locale, false);

        return $this->buildInitialTranslations($locale, $rs);
    }
public function getInitialTranslations ( PackageVersionEntity $ packageVersion , LocaleEntity $ locale ) { $ rs = $ this -> app -> make ( TranslationExporter :: class ) -> getPackageSelectQuery ( $ packageVersion , $ locale , false ) ; return $ this -> buildInitialTranslations ( $ locale , $ rs ) ; }
Returns the initial translations for the online editor, for a specific package version.

@param PackageVersionEntity $packageVersion
@param LocaleEntity $locale

@return array
Returns the initial translations for the online editor for a specific package version .