-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update to use latest Google Translate client
- Loading branch information
Flears
committed
Dec 28, 2019
1 parent
3f638e6
commit 621539e
Showing
4 changed files
with
62 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,5 @@ composer.lock | |
.DS_Store | ||
Thumbs.db | ||
phpunit.xml | ||
/.idea | ||
/.idea | ||
.phpunit.result.cache |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
<?php | ||
|
||
return [ | ||
/* | ||
/* | ||
|---------------------------------------------------------------------------------------------------- | ||
| The ISO 639-1 code of the language in lowercase to which the text will be translated to by default. | ||
|---------------------------------------------------------------------------------------------------- | ||
*/ | ||
'default_target_translation' => 'en', | ||
'default_target_translation' => 'en', | ||
|
||
/* | ||
/* | ||
|------------------------------------------------------------------------------- | ||
| Path to the json file containing the authentication credentials. | ||
| Api Key generated within Google Cloud Dashboard. | ||
| | ||
| The process to get this file is documented in a step by step detailed manner | ||
| over here: | ||
| https://github.com/JoggApp/laravel-google-translate/blob/master/google.md | ||
|------------------------------------------------------------------------------- | ||
*/ | ||
'key_file_path' => base_path('composer.json'), | ||
'api_key' => env('GOOGLE_TRANSLATE_API_KEY'), | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters