PHP Classes

PHP Prevod: Translate Cyrillic in other languages using Google

Recommend this page to a friend!
  Info   View files Example   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 75 All time: 10,088 This week: 310Up
Version License PHP version Categories
php-prevod 1.2Artistic License3.0Localization, PHP 5, Web services
Description 

Author

This package is specific mainly for applications used in Russian Federation Russian Federation .

This class can translate Cyrillic in other languages using Google.

It can take a text in a given language and sends an HTTP request to the Google Translate API to convert the text to Cyrillic.

In Serbian:

Klasa za prevod i konverzaciju sa latinice na cirilicu i obrnuto.

Picture of Dragan Jankovic
  Performance   Level  
Name: Dragan Jankovic <contact>
Classes: 1 package by
Country: Serbia Serbia
Age: 35
All time rank: 443916 in Serbia Serbia
Week rank: 587 Up7 in Serbia Serbia Up

Example

<meta charset="UTF-8">
<?php
include("prevod.class.php");
$prevedi = "Hello";
$prevod = new Prevod("en", "sr");

echo
$prevod->Prevod($prevedi); //Cirilica
echo '<br/>';
echo
$prevod->CirLat($prevod->Prevod($prevedi)); //Latinica

?>


  Files folder image Files  
File Role Description
Plain text file class.translate.php Class Class
Plain text file example.php Example Example of use
Plain text file Readme Doc. Readme

 Version Control Unique User Downloads Download Rankings  
 0%
Total:75
This week:0
All time:10,088
This week:310Up