File tree Expand file tree Collapse file tree 2 files changed +11
-13
lines changed
Expand file tree Collapse file tree 2 files changed +11
-13
lines changed Original file line number Diff line number Diff line change @@ -257,7 +257,7 @@ You can customize the language directory by modifying `config/inertia-lang.php`:
257257
258258``` php
259259return [
260- 'lang_path' => resource_path ('lang'), // Default: /resources /lang
260+ 'lang_path' => base_path ('lang'), // Default: /lang
261261];
262262```
263263
Original file line number Diff line number Diff line change 33return [
44
55 /*
6- |--------------------------------------------------------------------------
7- | Language Files Base Path
8- |--------------------------------------------------------------------------
9- |
10- | This path defines the base directory where your language files are stored.
11- | By default, it uses Laravel's built-in lang_path() helper, which typically
12- | points to the "resources/lang" directory.
13- |
14- | You can override this to point to a custom location if needed.
15- |
16- */
6+ |--------------------------------------------------------------------------
7+ | Language Files Base Path
8+ |--------------------------------------------------------------------------
9+ |
10+ | Specifies the base directory where language files are stored.
11+ | By default, it points to the "lang" folder in the project root
12+ | using Laravel's base_path() helper.
13+ |
14+ */
1715
18- 'lang_path ' => resource_path ('lang ' ),
16+ 'lang_path ' => base_path ('lang ' ),
1917
2018];
You can’t perform that action at this time.
0 commit comments