Easy way to translate the file names of all files in a selected folder?

I need to translate the names of all files in several folders:

AB123456_Machine_Installation.dxf
AB1234567_Machine_Maintenance.dxf

The file names can contain the special characters äöüÄÖÜß.

I would like to generate a text file that contains all file names, translate this list, and then use it to rename all files.

What is the best way to handle this?
folder_with_examples.zip (1.4 KB)

I can create a list of all file names in a folder with this macro:

And then translate the list and use this macro to rename the files:

There are three steps involved:

  1. The creation of the file list.
  2. The (manual) translation in a CAT tool.
  3. The renaming of the files via the translated file list.
    Rename All Files Macros.kmmacros (17 KB)

I could be misunderstanding what you are trying to do. But you might not need to generate a list in order to translate the names of the selected files and rename those files.

I am on Ventura so, I can use an Apple Shortcut to do the translation. But I suppose the Magenta Action in the below could be replaced by however you are translating the text.

EXAMPLE Translate Names of Selected Files.kmmacros (3.7 KB)

Click to Show Image of Macro

https://www.icloud.com/shortcuts/cb24913760c0418a80ab33bef6b1bb9c

Click to Show Image of Shortcut

1 Like

Thank you for your suggestion. My "old" hardware only allows for Big Sur, no support for Apple Translate.

And we translators do use machine translation in our CAT tools, but we always want to stay in control of the result ;).

1 Like