I will explain my problem with visuals now, but I will write it first. I am using mcamara/laravel-localization and nwidart/laravel-modules packages. And each module has its own json file in it, the nwidart/laravel-modules file alone works and I translate the language extraction process as @lang('test').
Now example 1 (nwidart/laravel-modules active - mcamara/laravel-localization inactive):
Example 2 (nwidart/laravel-modules active - mcamara/laravel-localization active but web.php edited):
Route : My Route
Example 3 (nwidart/laravel-modules active - mcamara/laravel-localization active but no data in web.php):
Route : My Route
My problem is: what is the language of the site when these codes are received, for example 'tr' or 'en' in config/app.php 'locale' => 'tr' does not read the json folder in modules for that language of the site.