TranslationsInstaller
class TranslationsInstaller (View source)
Properties
| protected Repository | $config | ||
| protected FactoryInterface | $localFactory | ||
| protected ProviderInterface | $remoteProvider | ||
| protected Filesystem | $fs | ||
| protected Application | $app | 
Methods
                    __construct(Repository $config, FactoryInterface $localFactory, ProviderInterface $remoteProvider, Filesystem $fs, Application $app)
        
                                            
                
            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.
                    array
                
                
                
            Details
        
                            
    __construct(Repository $config, FactoryInterface $localFactory, ProviderInterface $remoteProvider, Filesystem $fs, Application $app)
        
    
    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.
        
                            array
    installMissingPackageTranslations(Package $package)
        
    
    Install missing package translation files.
        
                        private    
    installTranslations(string $localeID, Package $package = null)
        
    
    No description