You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 28, 2023. It is now read-only.
Percy Mamedy edited this page Feb 1, 2016
·
1 revision
Before using the package you must register for IBM Watson Language translation service. Simplest way to do so is to register for a Bluemix account and use it to create the Service from there.
After registration of the service you will obtain service Credentials which will allow you to access the API.
place these credentials in your config/watson-translate.php file
<?php/* |-------------------------------------------------------------------------- | Service credentials |-------------------------------------------------------------------------- | | Set these values to your service own service credentials that you | obtained when registering for Watson Language translation service. | */'service_credentials' => [
'username' => env('WATSON_TRANSLATE_USERNAME', 'SomeUsername'),
'password' => env('WATSON_TRANSLATE_PASSWORD', 'SomePassword'),
],
You may set them in your .env file or code them directly in, which way you see best.