Closed malejandrosr closed 1 year ago
My bad, it's a documentation error, you need to execute php artisan vendor:publish --tag=auto-translate-config
I updated the docs.
I have the same issue, the tag doesn't exist.
If you execute php artisan vendor:publish --tag=auto-translate-config
what is the results in the terminal?
I get the same message from the first comment
Here:
Just to be sure all is installed, please follow the below steps:
composer require devaslanphp/auto-translate
php artisan optimize:clear
composer dump-autoload
php artisan vendor:publish --tag=auto-translate-config
I've follow all steps but it's the same issue, it didn't find the config tag.
Weird, I got the same issue on a new project, but not my old one.
To get it working you need to add the provider into your config/app.php
, like the following :
// config/app.php
//...
'providers' => [
// ...
\Devaslanphp\AutoTranslate\AutoTranslateProvider::class,
],
// ...
After that you can publish the config file.
It worked for me, it's because I'm using the latest version of laravel 9.
Thank you.
Hi.
I've installed the package in my REST API, then I've try to run the
php artisan vendor:publish --tag=auto-translate
command but the terminal indicates me that tag not found with this name.Any solution for this?
Here is the error: