kdomasze / Filename-Translator

Command utility to translate filenames from their source language to a desired language.
MIT License
10 stars 1 forks source link

bad thanslation #4

Open Ams-Laser opened 1 year ago

Ams-Laser commented 1 year ago

i get bad translation, even from english words i get bad "translated" words here some sample: image

Skyl3lazer commented 1 year ago

This is because the API changed a little since this was last updated. I'm not sure if it's the same for every language, but for Russian it was fixed by changing line 104 to nextIndex += 8;. You can look at the return from the API and see if it's different for you if that doesn't work.

CraterDylan commented 4 months ago

I also had this issue, and I can confirm that changing that line seems to fix it. I was translating from Japanese.