SharonTools

Script to translate files and folders

Few days ago i bought an “old games” emulator, the problem was that all games names was in Chinese although all the menus was in English

I removed the memory card from the emulator and connected it to my PC, then i saw all games files (.zip) names was in Chinese, so i decided to translate file names to English and hope that the games list will also be in English

I looked for a program to do that in the internet with no luck, so i wrote a small python script to translate using google translate API, Here is how it looked like while the translate was running:

https://youtu.be/bhQPMRsyZZw

The script:

I had few problems:

Here is how it looks after:

Exit mobile version