This is a simple node application that will convert a path of files into english names. It does not translate directory names.
You will need to add in your own google translation api key by defining translateKey
. Additionally, you will need to run npm install google-translate
to the place that you copied translate.js so that you have the translation api dependency.
I made this function synchronous (for better or for worse) using promises to make sure it is all done before continuing on.
Free to use or modify however you want!