| Recommend this page to a friend! | 
| Classes of Decode Web | PHP Yandex Translate | README.md | Download | 
| 
 | |||||||||||||||||||||
|  Download yandex-language-translatePackage to translate message into different languages. SETUPInstall via composer 
 Get Yandex language translate FREE api key from here: https://tech.yandex.com/translate/ Add variables in ENV file 
 and 
 Run Command 
 Run Database Migration Command 
 Run Language Seeder Command 
 Testing on the flyOpen  Testing in your applicationYou can use translation endpoint in your application too. Go to web.php and add the following code `Route::get('/test-translate',function (){ });` or in your controller, add USE the package functions like it `use Decodewebin\YandexTranslate\Static_Functions\Yandex;
`
`class YourController extends Controller
`
 ` public function your_function() ` ` dd(Yandex::translate("Hello World","en","ru");) ` 
 Format
 This function returns a json object as follows 
 ` "translated": "Olá Mundo", ` ` "source_language_code": "en" ` 
 If you liked this package then do follow me on |