meetDeveloper / freeDictionaryAPI

There was no free Dictionary API on the web when I wanted one for my friend, so I created one.
https://dictionaryapi.dev/
GNU General Public License v3.0
2.71k stars 266 forks source link

How to change language? #1

Closed veganexe closed 6 years ago

veganexe commented 6 years ago

Suppose I want to use Spanish, how do I set it as default?

veganexe commented 6 years ago

I think there is no support for any language other than English for the dictionary. Looking at the reverse engineering of the chrome extension, it looks like the addon just switches to the google translate API when a definition isn't available.

https://translate.google.com/?q=#es/en/comida https://translate.google.com/?q=#en/es/food

Perhaps IF, if other languages are to be supported, a seperate repo to scrape the translate API would be a better idea, leaving this one, as minimalist as possible.

Here's the TTS API : http://translate.google.com/translate_tts?ie=UTF-8&total=1&idx=0&client=tw-ob&tl=es&q=cerveza

meetDeveloper commented 6 years ago

IBM Cloud toolchain: Delivery Pipeline deployed googleDictionaryAPI to API's, including commit 4d8aeb345e63424525be68992ae94f1aa7cafe64

meetDeveloper commented 6 years ago

I implemented this feature, sorry for the delay. Kindly provide your feedback. @veganexe

meetDeveloper commented 6 years ago

Implemented.