hello goethe!
good work! this is by far the best solution in this issue, and it works perfect! there were earlier attempts to make such a batch file, but they messed up some of the folders.
i edited my units folder manually some time ago to be able to play gotm. therefore, i don't need your batch file, but i tell you, it would have been a lot easier with your translator.
a special issue for the german translation is the "Panzer" folder. the solutions i could think of:
1. leave the "Panzer" folder as it is and copy/rename "Deutscher Panzer" to "Tank". this way round, in english games regular tanks ("Panzer") will look like the german unique unit panzer ("Deutscher Panzer") and the uu for germany will look like an ordinary tank. with other words: you keep the difference between a regular tank and the german tank, though their graphics will be swapped. btw, a nice opportunity for the german panzer to get on the stage (i can't remember that i've ever seen one in game so far). this is quite easy, but one must like the idea of swapping the graphics.
2. make a new folder called e.g. "units_eng" to keep all the unit folders with their right names. Panzer would be tank, Deutscher Panzer would be panzer. to make use of the new units folder, make a batch file that lets you choose between the two folders.
this is my personal solution. my batch file is called "gameload" and does not only swap the two units folders but all files from the gotm download packs (resources pics, civilopedia, pediaicons etc.).
3. find a better name for Panzer and change the civ3mod, too. In a german game lets call it "Panzerfahrzeug". rename the unit in the editor and in the units folder. now you can copy/rename all files including the tank/panzer thing. a translation batch file should come with the appropriate civ3mod file.
this is the most delicate solution, because it needs a special mod, users could overwrite the original file etc. , so, this is a bit problematic.
all in all, your batch file is a good starting point for other non-english civ players like frodon46 to adapt to "international" games like gotm.