achiever07 / micrsoft-translator-php-wrapper

Automatically exported from code.google.com/p/micrsoft-translator-php-wrapper
0 stars 0 forks source link

error on certain word (kamu) #1

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. translate from id(indonesian) to english
2. input any text beginning with: "kamu"

What is the expected output? What do you see instead?
should translated into "you" or "ye", but got error "Warning: 
file_get_contents(https://api.datamarket.azure.com/Data.ashx/Bing/MicrosoftTrans
lator/v1/Translate?Text=%27kamu+suka+siapa%27&To=%27en%27&$format=Raw&$top=100) 
[function.file-get-contents]: failed to open stream: HTTP request failed! 
HTTP/1.1 400 Bad Request in 
C:\xampp\htdocs\translate1\class\MicrosoftTranslator.class.php on line 140"

I tried the demo and tried it on my local machine. The demo site will just keep 
on loading status, while in my local machine will produced this error.

Original issue reported on code.google.com by adamanto...@gmail.com on 18 Nov 2012 at 9:40

GoogleCodeExporter commented 8 years ago
its really strange.. for particular word!!! Changing the priority to low.. i 
will look into it

Original comment by renji....@gmail.com on 22 Jan 2013 at 9:45

GoogleCodeExporter commented 8 years ago
I had this error also: Notice: Undefined index: class in 
D:\wamp\www\translate\class\MicrosoftTranslator.class.php on line 212

Original comment by vn.leanh...@gmail.com on 6 Apr 2013 at 2:55