public static filter_autoconfig( array & $autoconfig )
& $autoconfig
Adds the "locale" directories found in the app paths to locale-path.
locale-path
$autoconfig
public static on_core_boot( ICanBoogie\Core\BootEvent $event, ICanBoogie\Core $app )
$event
$app
Event hook for ICanBoogie\Core::boot.
ICanBoogie\Core::boot
Sets I18n::$load_paths using application config value locale-paths.
I18n::$load_paths
locale-paths
public static translate( ICanBoogie\Core $app, string $native, array $args = [], array $options = [] ) : string
$native
$args
$options
Translates and formats a string.