NLP Translation

FREEMIUM
Par gofitech | Mise à jour 4 days ago | Translation
Popularité

9.9 / 10

Latence

2,407ms

Niveau de service

99%

Health Check

N/A

Retour à toutes les discussions

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

Participez à la discussion - ajoutez un commentaire ci-dessous:

Connectez-vous / Inscrivez-vous pour publier de nouveaux commentaires