|
11 | 11 | 'routes' => [
|
12 | 12 |
|
13 | 13 | /**
|
14 |
| - * Route prefix, example of route http://localhost/js/localizations.js |
15 |
| - * |
| 14 | + * Route prefix, example of route http://localhost/js/localizations.js. |
16 | 15 | */
|
17 | 16 | 'prefix' => env('LARAVEL_LOCALIZATION_PREFIX', '/js/localization.js'),
|
18 | 17 |
|
19 | 18 | /**
|
20 |
| - * Route name, defaults to assets.lang |
| 19 | + * Route name, defaults to assets.lang. |
21 | 20 | */
|
22 | 21 | 'name' => env('LARAVEL_LOCALIZATION_ROUTE_NAME', 'assets.lang'),
|
23 | 22 |
|
|
33 | 32 | : [],
|
34 | 33 |
|
35 | 34 | /**
|
36 |
| - * Should we enable public URL from which we can access translations |
| 35 | + * Should we enable public URL from which we can access translations. |
37 | 36 | */
|
38 | 37 | 'enable' => env('LARAVEL_LOCALIZATION_ROUTE_ENABLE', false),
|
39 | 38 | ],
|
40 | 39 | 'events' => [
|
41 | 40 |
|
42 | 41 | /**
|
43 |
| - * This package emits some events after it getters all translation messages |
| 42 | + * This package emits some events after it getters all translation messages. |
44 | 43 | *
|
45 | 44 | * Here you can change channel on which events will broadcast
|
46 | 45 | */
|
|
49 | 48 | 'caches' => [
|
50 | 49 |
|
51 | 50 | /**
|
52 |
| - * What cache driver do you want to use - more information: https://laravel.com/docs/5.6/cache#driver-prerequisites |
| 51 | + * What cache driver do you want to use - more information: https://laravel.com/docs/5.6/cache#driver-prerequisites. |
53 | 52 | */
|
54 | 53 | 'driver' => 'file',
|
55 | 54 |
|
56 | 55 | /**
|
57 |
| - * Key name of the cache entry for the localization array |
| 56 | + * Key name of the cache entry for the localization array. |
58 | 57 | */
|
59 | 58 | 'key' => 'localization.array',
|
60 | 59 |
|
61 | 60 | /**
|
62 |
| - * Timeout of the cached data in minutes - set to 0 to disable |
| 61 | + * Timeout of the cached data in minutes - set to 0 to disable. |
63 | 62 | */
|
64 | 63 | 'timeout' => 60,
|
65 | 64 | ],
|
66 | 65 | 'js' => [
|
67 | 66 | /**
|
68 |
| - * Default locale for export |
| 67 | + * Default locale for export. |
69 | 68 | */
|
70 | 69 | 'default_locale' => 'en',
|
71 | 70 |
|
72 | 71 | /**
|
73 |
| - * root location to where JavaScript file will be exported |
| 72 | + * root location to where JavaScript file will be exported. |
74 | 73 | */
|
75 | 74 | 'filepath' => resource_path('assets/js'),
|
76 | 75 |
|
77 | 76 | /**
|
78 |
| - * File name for JavaScript file with exported messages |
| 77 | + * File name for JavaScript file with exported messages. |
79 | 78 | */
|
80 | 79 | 'filename' => 'll_messages.js',
|
81 | 80 | ],
|
82 | 81 | 'paths' => [
|
83 | 82 |
|
84 | 83 | /**
|
85 |
| - * You can export more lang files then just files in resources/lang, for example |
| 84 | + * You can export more lang files then just files in resources/lang, for example. |
86 | 85 | *
|
87 | 86 | * In you .env file just add:
|
88 | 87 | * LARAVEL_LOCALIZATION_LANG_DIRS=resources/lang,Modules/Blog/Resources/lang
|
|
98 | 97 | ],
|
99 | 98 | /**
|
100 | 99 | * This function will be called every time after export, it should be globally accessible function (eg. Laravel helper function)
|
101 |
| - * and it should accept (string) argument |
| 100 | + * and it should accept (string) argument. |
102 | 101 | */
|
103 | 102 | 'export_callback' => null,
|
104 | 103 |
|
|
0 commit comments