Python: Translate

From OnnoWiki
Revision as of 18:47, 4 February 2017 by Onnowpurbo (talk | contribs) (Created page with "Instal pip install goslate Code import goslate gs = goslate.Goslate() print(gs.translate('hello world', 'de')) Hasilnya Hallo Welt id kayanya tidak jalan :( ... hik...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Instal

pip install goslate

Code

import goslate
gs = goslate.Goslate()
print(gs.translate('hello world', 'de'))

Hasilnya

Hallo Welt

id kayanya tidak jalan :( ... hik hik ..