TranslationsInstaller
class TranslationsInstaller (View source)
Properties
protected Repository | $config | ||
protected FactoryInterface | $localFactory | ||
protected ProviderInterface | $remoteProvider | ||
protected Filesystem | $fs |
Methods
__construct(Repository $config, FactoryInterface $localFactory, ProviderInterface $remoteProvider, Filesystem $fs)
No description
installCoreTranslations(string $localeID)
Install a new core locale, or update an existing one.
installPackageTranslations(Package $package, string $localeID)
Install a new locale for a package, or update an existing one.
Details
__construct(Repository $config, FactoryInterface $localFactory, ProviderInterface $remoteProvider, Filesystem $fs)
No description
installCoreTranslations(string $localeID)
Install a new core locale, or update an existing one.
installPackageTranslations(Package $package, string $localeID)
Install a new locale for a package, or update an existing one.
private
installTranslations(string $localeID, Package $package = null)
No description