Comments (7)
+1
from laravel-langscanner.
Added lv9 support in 1.1.0
from laravel-langscanner.
Hi today installed your package 1.1v on laravel 9.7 not working need fix path ??
Symfony\Component\Finder\Exception\DirectoryNotFoundException
The "User/Project/resources/lang" directory does not exist.
at vendor/symfony/finder/Finder.php:590
586▕ } elseif ($glob = glob($dir, (\defined('GLOB_BRACE') ? \GLOB_BRACE : 0) | \GLOB_ONLYDIR | \GLOB_NOSORT)) {
587▕ sort($glob);
588▕ $resolvedDirs[] = array_map([$this, 'normalizeDir'], $glob);
589▕ } else {
➜ 590▕ throw new DirectoryNotFoundException(sprintf('The "%s" directory does not exist.', $dir));
591▕ }
592▕ }
593▕
594▕ $this->dirs = array_merge($this->dirs, ...$resolvedDirs);
+18 vendor frames
19 artisan:37
Illuminate\Foundation\Console\Kernel::handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
from laravel-langscanner.
The "User/Project/resources/lang" directory does not exist.
@zdarin - Looks like you are missing the lang
folder inside of your resources
folder. Just create an empty lang
folder in resources
.
from laravel-langscanner.
The "User/Project/resources/lang" directory does not exist.
@zdarin - Looks like you are missing the
lang
folder inside of yourresources
folder. Just create an emptylang
folder inresources
.
ok but Laravel 9 have lang
folder in root of project or this path need to be created because do not mess with existed langs ??
from laravel-langscanner.
@zdarin I forgot the lang
directory was moved to the root of the project starting with LV9. Pushed an update that should fix that.
composer require druc/laravel-scanner:^2.0
Thanks for reporting the issue!
from laravel-langscanner.
@druc :) you are welcome
from laravel-langscanner.
Related Issues (8)
- Generate translation file
- Translation key not found if there is whitespace and/or newline between parenthesis and quote HOT 1
- Package not generating traslations files but instead outputs the missing translations on the console
- Laravel 10 / Jetstream / Inertia support HOT 1
- Copy existing translations in php lang files
- Weird index translation key
- v-for trans(array) missing feature HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from laravel-langscanner.