NLP Translation

FREEMIUM
Door gofitech | Bijgewerkt 5 days ago | Translation
Populariteit

9.9 / 10

Latency

3,412ms

Serviceniveau

99%

Health Check

100%

Terug naar alle discussies

Not able to translate HTML Data

I’m trying to translate my web page… i’m sending html data in request but i’m not geeting translated content in response

{status: 200, from: “fr”, to: “it”, original_text: “[object HTMLBodyElement]”,…}
from: "fr"
original_text: "[object HTMLBodyElement]"
status: 200
to: "it"
translated_characters: 24
translated_text: {it: “[oggetto HTMLBodyElement]”}

i’m getting above response… i’m not sure if i’m making any mistake in sending html date in request

Rapid account: Gofitech
gofitech Commented 3 years ago

Hi,

Looks like the way you are fetching or parsing the html text in your code is not correct, so you are not sending [object HTMLBodyElement] instead of your intended html code.

Please find a solution according to the programming language you use in here

Thanks

Doe mee aan de discussie - voeg hieronder een opmerking toe

Log in / Schrij u in om nieuwe opmerkingen te plaatsen