ahmeterenodaci / easygoogletranslate

Easy Google Translate: Unofficial Google Translate API
99 stars 14 forks source link

add option to detect a language #1

Closed cheemzboi closed 1 year ago

cheemzboi commented 1 year ago

i wanna achieve something like this :

Input text: "ру́сский язы́к" Output text: "Russian"

Input text: "中文" Output text: "Chinese"

Input text: "にほんご" Output text: "Japanese"

Input text: "العَرَبِيَّة" Output text: "Arabic"

using google api can we detect the lang ? if yes please add it to module

ahmeterenodaci commented 1 year ago

Unfortunately, this is not possible with this library.