-
Notifications
You must be signed in to change notification settings - Fork 22
/
translation.php
45 lines (39 loc) · 1.47 KB
/
translation.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<?php
return [
'key' => env('TRANSLATIONIO_KEY'),
'source_locale' => 'en',
'target_locales' => [],
/*
|--------------------------------------------------------------------------
| # Ignored PHP key prefixes.
|--------------------------------------------------------------------------
|
| Ex: * 'validation': ignore the whole validation.php file.
| * 'validation.custom': ignore the "custom" subtree in validation.php file.
| * 'subfolder/more': ignore the whole subfolder/more.php file.
|
*/
'ignored_key_prefixes' => [],
/*
|--------------------------------------------------------------------------
| Directories to scan for Gettext strings.
|--------------------------------------------------------------------------
|
*/
'gettext_parse_paths' => ['app', 'resources'],
/*
|--------------------------------------------------------------------------
| Where the Gettext translations are stored.
|--------------------------------------------------------------------------
|
| PO file is here: $gettext_locales_path/xx_XX/app.po
| MO file is here: $gettext_locales_path/xx_XX/LC_MESSAGES/app.mo
|
| If not specified, $this->application['path.lang'] . '/gettext' will be used
|
| For Laravel < 9, path.lang is `resources/lang/gettext`
| For Laravel >= 9, path.lang is `lang/gettext`.
|
*/
// 'gettext_locales_path' => 'lang/gettext'
];