Closed william-koffi closed 2 years ago
hi @william-koffi, you can add a pattern to localizator.search.patterns
that will be used to ignore files from the vendor folder.
Would it be possible to add an ignore
option for folder ?
For exemple, we have a vendor/nova folder which is translated with PHP shortkey.
But the Blade file are translated with JSON and fallback text.
So in config instead of search.dirs
, maybe search.include
and search.exclude
I added the exclude options, which is basically an array of directories that will be excluded relative to the directories in search.dirs
.
Example:
'dirs' => ['resources/views'],
'exclude' => ['vendor'],
Here, vendor
directory will be excluded from resources/views
.
I want to ignore all files in the resources/views/vendor folder.