joedixon / laravel-translation

Translation management for your Laravel application.
MIT License
694 stars 230 forks source link

how to connect files with translations from other modules for example Modules\MyModule\Resources\lang\ #271

Open galexpert opened 1 year ago

galexpert commented 1 year ago

Hello, please help me to solve the problem. I have a module with structure like laravel/APP . I want to set up the work of translations in a different way, for example, site.loc\Modules\MyModule\Resources\lang\ 'scan_paths' => [ base_path(), app_path(), resource_path(), base_path('Modules\MyModule\Resources\lang\') ], But none of the options work... laravel translation stubbornly does not see my files with translations... Please help me!!! I will be very grateful for any help