mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
78 lines
2.3 KiB
PHP
78 lines
2.3 KiB
PHP
<?php
|
|
|
|
return [
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Package driver
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| The package supports different drivers for translation management.
|
|
|
|
|
| Supported: "file", "database"
|
|
|
|
|
*/
|
|
'driver' => 'database',
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Route group configuration
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| The package ships with routes to handle language management. Update the
|
|
| configuration here to configure the routes with your preferred group options.
|
|
|
|
|
*/
|
|
'route_group_config' => [
|
|
'middleware' => 'translation',
|
|
],
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Translation methods
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| Update this array to tell the package which methods it should look for
|
|
| when finding missing translations.
|
|
|
|
|
*/
|
|
'translation_methods' => ['trans', '__'],
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Scan paths
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| Update this array to tell the package which directories to scan when
|
|
| looking for missing translations.
|
|
|
|
|
*/
|
|
'scan_paths' => [app_path(), resource_path()],
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| UI URL
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| Define the URL used to access the language management too.
|
|
|
|
|
*/
|
|
'ui_url' => 'languages',
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Database settings
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| Define the settings for the database driver here.
|
|
|
|
|
*/
|
|
'database' => [
|
|
|
|
'connection' => '',
|
|
|
|
'languages_table' => 'languages',
|
|
|
|
'translations_table' => 'translations',
|
|
],
|
|
];
|