Saravananslb/py-googletranslation

Incomplete translation

ar-ekt opened this issue · 0 comments

from pygoogletranslation import Translator # version: 2.0.5
translator = Translator()
sampleText = "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum."
translated = translator.translate(sampleText, src="en", dest="cy")
print(translated.text)

# output: Testun ffug y diwydiant argraffu a chysodi yw Lorem Ipsum.

# output checked with 'translate.google.com': Testun ffug y diwydiant argraffu a chysodi yw Lorem Ipsum. Lorem Ipsum yw testun ffug safonol y diwydiant byth ers y 1500au, pan gymerodd argraffydd anhysbys gali o fath a'i sgramblo i wneud llyfr sbesimen math. Mae wedi goroesi nid yn unig bum canrif, ond hefyd y naid i gysodi electronig, gan aros yn ddigyfnewid yn y bôn. Cafodd ei boblogeiddio yn y 1960au gyda rhyddhau taflenni Letraset yn cynnwys darnau Lorem Ipsum, ac yn fwy diweddar gyda meddalwedd cyhoeddi bwrdd gwaith fel Aldus PageMaker gan gynnwys fersiynau o Lorem Ipsum.