PHP Classes

File: trans.php

Recommend this page to a friend!
  Classes of adriano ghezzi   PHP Yandex Translate API Wrapper   trans.php   Download  
File: trans.php
Role: Example script
Content type: text/plain
Description: translate example
Class: PHP Yandex Translate API Wrapper
Translate text between languages using Yandex API
Author: By
Last change:
Date: 7 years ago
Size: 184 bytes
 

Contents

Class file image Download
<?php
require_once "../apiYandex.php";
$dirs=null;
$langs=null;
$yandex=\yandex\apiYandex::Factory();
$yandex->getSupportedlanguages($dirs,$langs);
require_once
"trans.html";
?>