FileLoader
 class Winter\Storm\Translation\FileLoader
extends Illuminate\Translation\FileLoaderExtends
| Class | Description | 
|---|---|
| Illuminate\Translation\FileLoader | 
Methods
protected loadNamespaceOverrides (array $lines, string $locale, string $group, string $namespace) : array
Load a local namespaced translation group for overrides.
This is an override from the base Laravel functionality that allows "xx-xx" locale format files as well as "xx_XX" locale format files. The "xx_XX" format is considered authorative.
Parameters
                | Property | Type | Description | 
|---|---|---|
| $lines | array | array | 
| $locale | string | string | 
| $group | string | string | 
| $namespace | string | string | 
Returns
            array
                protected loadPath (string $path, string $locale, string $group) : array
Load a locale from a given path.
This is an override from the base Laravel functionality that allows "xx-xx" locale format files as well as "xx_XX" locale format files. The "xx_XX" format is considered authorative.
Parameters
                | Property | Type | Description | 
|---|---|---|
| $path | string | string | 
| $locale | string | string | 
| $group | string | string | 
Returns
            array
                
            
            ← Previous page
            Winter\Storm\Support\Traits\Singleton
        
                
            Next page →
            Winter\Storm\Translation\TranslationServiceProvider
        
    
    Copyright © 2025 Winter CMS