foyoux / pygtrans

谷歌翻译, 支持 APIKEY 一口气翻译十万条
GNU General Public License v3.0
217 stars 48 forks source link

有一些英文语句翻译不了成中文【bug】 #27

Closed zhenzi0322 closed 1 year ago

zhenzi0322 commented 1 year ago

程序:

from pygtrans import Translate

client = Translate()

text1 = "family zen garden sykling hd free download for pc, in the style of playful, whismical illustrations, uhd image, editorial illustrations, fresco paintings, children's book illustrations"
text = client.translate(text1, target='zh', fmt='text')
print(text)

输出:

TranslateResponse(translatedText="family zen garden sykling hd free download for pc, in the style of playful, whismical illustrations, uhd image, editorial illustrations, fresco paintings, children's book illustrations", detectedSourceLanguage='en', model=None
lemisky commented 1 year ago

很神奇呀,试了下,确实是这样。不过官方也是这样,我也没办法🤣

zhenzi0322 commented 1 year ago

那好的