Skip to content

Commit

Permalink
Update README.md (#22)
Browse files Browse the repository at this point in the history
Putting the service provider in quotes will help solve issue of config file not being published on certain systems. It prevents bash from treating it like escape character
  • Loading branch information
JoshKisb authored and tanmuhittin committed Jan 8, 2020
1 parent 13eb978 commit 90f96d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Translate translation files (under /resources/lang) or lang.json files from spec
## installation
```console
composer require tanmuhittin/laravel-google-translate --dev
php artisan vendor:publish --provider=Tanmuhittin\LaravelGoogleTranslate\LaravelGoogleTranslateServiceProvider
php artisan vendor:publish --provider="Tanmuhittin\LaravelGoogleTranslate\LaravelGoogleTranslateServiceProvider"
```

If you would like to use stichoza/google-translate-php you do not need an API key. If you would like to use Google Translate API, edit config/laravel_google_translate.php and add your Google Translate API key.
Expand Down Expand Up @@ -42,4 +42,4 @@ Done <br>
* Add other translation API support (Bing, Yandex...)

## finally
Thank you for using laravel-google-translate :)
Thank you for using laravel-google-translate :)

0 comments on commit 90f96d3

Please sign in to comment.