I'm mostly interested in translation, but I'm sure someone else is looking for info on the other features of the language API (namely transliteration and virtual keyboard). I see alot of pages on the web about the limitations of the Language API, but I don't see anything about this in the official docs. Links to where this is described i...
i want to use this php-language-api
i think it is great but with text only
it can not wrok with html text
see
$text = htmlspecialchars('<a href="test.php">test.php</a>');
$str = Google_Translate_API::translate($text, 'en', 'ar');
or
$text = '<a href="test.php">test.php</a>';
$str = Google_Translate_API::translate($text, 'en', 'ar');
...
There is an easy way to use the Google AJAX Language API to detect language with PHP without use any library or a giant framework?
...
I am trying to utilize Google's AJAX Language API to translate each value in an array.
for(var n=0; n < mytext.length; n++) {
google.language.translate(mytext[n], originalLanguage, newLanguage, function(result){
if(!result.error){
document.getElementById("caption") += mytext[n]+" has been translated to "+result.translation;
}
...
i have many documents need to be translate,so i want to know is there some frequency limitation for this api,i didn't found any relevent information,any advice is welcome
...
I am using CKEditor as a rich text WYSIWYG Javascript editor.
I would like to add an on-screen keyboard so that they can easily enter text from non-English alphabets.
I was planning on finding a JavaScript on-screen keyboard and adding a custom button with a CKEditor plug-in to trigger it.
I've found a couple of JavaScript on-screen...