NLP Translation

FREEMIUM
By gofitech | Updated לפני 6 ימים | Translation
Popularity

9.9 / 10

Latency

3,437ms

Service Level

99%

Health Check

100%

Back to All Discussions

Not able to translate HTML Data

Rapid account: Dmeyer 2020 Yjvup C 7 Nb H
dmeyer2020-_YjvupC7NbH
לפני 3 שנים

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 שנים

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

Join in the discussion - add comment below:

Login / Signup to post new comments