Starx
Starx

Reputation: 79049

What would you suggest: As the efficient method for Language Translation?

Making a website cross-language friendly is being considered as the NEXT TREND. On this situation.. what method would be considered as good, efficient in terms development complexity.

The available options I Know are

Are there any other ways to translate content to another language? and Which one of them is efficient based on the factors like: performance, coding time and flexibility.

Upvotes: 0

Views: 186

Answers (1)

Poelinca Dorin
Poelinca Dorin

Reputation: 9715

For start i would have to agree with Ignacio , nothing beats a human translator , if you don't have the time then once somebody enters new text it could get parsed in different languages with GTranslate api , and then saved to database and feeded to the user based on his prefered language , using gtranslate api whont show any google translate logo check this out :

<?php
require("GTranslate.php");

 try{
       $gt = new Gtranslate;
       echo "Translating [Hello World] from English to German => ".$gt->english_to_german("hello world")."<br/>";
        echo "Translating [Ciao mondo] Italian to English => ".$gt->it_to_en("Ciao mondo")."<br/>";
 } catch (GTranslateException $ge)
 {
       echo $ge->getMessage();
 }
?>

Instead of echo you could save the translated text inside a database just like you would do it if there where a number of human translators .

You can download GTranslate api from GTranslate on Google Code

Upvotes: 1

Related Questions