mythkiven / mkTranslate

automatically translate iOS string files and Android xml files . Conversion between Traditional and Simplified Chinese
MIT License
45 stars 9 forks source link

Skipping all strings in XML #6

Open zallaevan opened 4 years ago

zallaevan commented 4 years ago

Although I've tried with Google and Youdao, it seems that it isn't capable of translating XML archives. The following command is given: translate -p ./fr.xml -d 'zh-hans' -c ''youdao -s 'fr' It is supposed to take the strings in french and convert them into simplified Chinese, but it seems that it only skips them. I attach some screenshots below. image image

XilinJia commented 4 years ago

skipping English too. Seems totally useless.

zallaevan commented 4 years ago

skipping English too. Seems totally useless.

Yeah, no clue why this happens. Maybe because it is not the "default" format? Nevertheless, I've put it through an XML checker and it seems that it's all ok.

XilinJia commented 4 years ago

@zallaevan So it works for you now?

Meanwhile I found this one (https://github.com/Ra-Na/GTranslate-strings-xml) works fine for me after a simple edit of my xml file, about which I filed an issue there.

zallaevan commented 4 years ago

@LeoK987 No, it doesn't work for me, at least. I said that the online XML checker says that the syntax is correct, but the program doesn't function properly. Thank you for suggesting that, I'll give it a look. Cheers.