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

incorrect translation #31

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
It's having difficulty translating seemingly random words that Google translate 
itself is fine with

What steps will reproduce the problem?
1. translate "Ich liebe die Art du lügst" german to english
2. result  "love the way you lgst"
Google translate output
"I love the way you lie"
and
1. "ber wenn es schlecht Es ist schrecklich Ich fühle mich so beschämt"
2. result "But if it's bad, it's terrible I fhle Sun beschmt "
Google translate output
"about when it's bad, it's terrible I feel so ashamed"

The literal translation isn't perfect but it's good enough straight from Google 
translate

Things I've tried with no change
1. $gt->german_to_english( to $gt->de_to_en(
2. adding trim to the input string

What version of the product are you using? On what operating system?
0.76, running from a php page on a wamp server

Original issue reported on code.google.com by thebeast...@gmail.com on 6 Oct 2010 at 1:33

GoogleCodeExporter commented 8 years ago
Are you utf8_encoding you string ? If not please try it!

Original comment by josedasilva on 26 Nov 2010 at 4:21