Copy link to clipboard
Copied
We have a situation in the company where we translate into 9 languages. Those in charge have determined that the language code must appear in the source files for the book, and our translation team currently has to:
The format of our filenames is, for example, Template002EN01-01-Title.fm where the EN represents English, and would be replaced with ZH for Chinese.
Does there exist a scrit that one could execute from within FrameMaker after opening the book and files that would take as input a code to replace for EN and rename the files in an automated batch?
Copy link to clipboard
Copied
I don't think so, but I'm sure someone like @frameexpert or Bernard Aschwanden or @Russ Ward could write one pretty easily.
Or you could use Explorer to do a bulk rename in the directory and then use Rick's PathChanger script to update the cross-references and the like. A little more manual than you're hoping for and external to FM, but still a LOT faster than doing it file by file in multiple books.
Copy link to clipboard
Copied
Thank you. I will look at the PathChanger script, but I want to find a solution that can easily be run by a less-experienced FrameMaker user who is essentially assembling a translated book from MIF files after usinf DejaVu translation software. I don't want to put a solution in place that's overly complicated or intimidating to less-saavy users.
Copy link to clipboard
Copied
Convince «those in charge» that it would be much more reasonable (safe, economic) to name only the book with the language. The book + document should be in an own directory per language anyhow.
Copy link to clipboard
Copied
I completely agree with you, Klaus.
That is exactly what I did in a similar situation.
Copy link to clipboard
Copied
Exactly this function was provided by the [i]-Frame script collection (for FrameScript) from itl AG (Germany). Renaming all book components, while updating all cross references at the same time. I'm using it regularly, it's a real time saver. However, it looks like they're no longer selling it…