Mutate icon indicating copy to clipboard operation
Mutate copied to clipboard

Universal Translation

Open mamen2022 opened this issue 8 years ago • 1 comments

Hi, i was seeing your code for the google translate script, and you have this:

if has_chinese_charactar(sys.argv[i]): source_languege = "zh-CN" target_languege = "en" else: source_languege = "en" target_languege = "zh-CN"

But that if only works with Chinese characters. For the rest of the world, the translation will only work in one way.. There is any chance you can fix this or do you have any ideia how to fix it? And great App btw :+1:

mamen2022 avatar Jun 08 '16 06:06 mamen2022

For now there is no other way than directly editing in the source. just change the source_language and target_language to your liking. You can find the right language code (en, zh-CN from google web translator).

samundra avatar Jun 11 '16 18:06 samundra