How to get all the meanings when I use Google translate API
Asked Answered
J

2

7

I used the Google API to translate word from Ar to En I want to translate only one word every time and I want to get all the possible meaning for that word not only one meaning. How can I do that, all the codes I found give only one translation.

Japhetic answered 5/3, 2012 at 21:8 Comment(0)
A
3

Unfortunately it is impossible for the current version of Google Translate API (v.2).

From the FAQ (https://developers.google.com/translate/v2/faq):

Q: Is it possible to get multiple translations of a word?

A: No. This feature is only available via the web interface at translate.google.com

Arjun answered 20/6, 2013 at 4:57 Comment(1)
How about now? Is there any way to do it now?Punishable
L
0

I have created a npm package that can do exactly what you want - extended google translate api

However, this package uses unofficial google translate API, so you can't use it in any commercial projects.

Leastwise answered 4/9, 2018 at 19:38 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.