mzubairsaleem / gtranslate-api-php

Automatically exported from code.google.com/p/gtranslate-api-php
GNU General Public License v3.0
0 stars 0 forks source link

Norwegian and Urdu error - 400 : invalid translation language pair #26

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Norwegian and Urdu language give me an error that invalid language

What is the expected output? What do you see instead?
 Fatal error: Uncaught GTranslateException: [0]: Unable to perform Translation:invalid translation language pair thrown in /home/www/translate/etc/lib/GTranslate.php on line 263

What version of the product are you using? On what operating system?
GTranslate 0.7.6

Please provide any additional information below.

Original issue reported on code.google.com by semnan...@gmail.com on 24 Aug 2010 at 6:42

GoogleCodeExporter commented 8 years ago
<?php
require("./etc/lib/GTranslate.php");

 try{
       $gt = new Gtranslate;
       echo $gt->english_to_norwegian("hello")."<br/>";
       echo $gt->english_to_urdu("hello")."<br/>";
 } catch (GTranslateException $ge)
 {
       echo $ge->getMessage();
 }

// Unable to perform Translation:invalid translation language pair

Original comment by semnan...@gmail.com on 24 Aug 2010 at 6:52

GoogleCodeExporter commented 8 years ago
I need a solution of this problem please provide me as soon as early

Original comment by abhinav1...@gmail.com on 9 Dec 2010 at 11:56

GoogleCodeExporter commented 8 years ago

Original comment by josedasilva on 31 Dec 2010 at 5:07

GoogleCodeExporter commented 8 years ago
Hello,

Just fixed the issue that was preventing Nowergian translation to be done, 
regarding URDU i am afraid but there is no solution, after a little web 
browsing found several topics like 
http://www.google.com/support/forum/p/news/thread?tid=590be9438f9cb35d&hl=en .

It seems that is not fully supported by Google. 

Original comment by josedasilva on 31 Dec 2010 at 5:41

GoogleCodeExporter commented 8 years ago
hi,

  I am using 0.7.9.1 version, but its not working for norwegian language.

   Unable to perform Translation:invalid translation language pair

Plz. help

Original comment by anil7j...@gmail.com on 25 May 2011 at 6:56