I use the console-translate mode to create the translated documents with a script. I think it would be great if it would be possible to run the Groovy OmegaT scripts from command line. It would allow further automation of our translation workflow.
I added a "--script=path/to/script.groovy" option to allow a script to be executed in console mode.
The script is called three times, changing the value of the "eventType" binding each time:
After project loading (LOAD),
after compiling the translation (COMPILE)
after closing the project (CLOSE).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Fixed in Trunk #6665
I added a "--script=path/to/script.groovy" option to allow a script to be executed in console mode.
The script is called three times, changing the value of the "eventType" binding each time:
Implemented in SVN (/trunk).
Didier
Implemented in the released version 3.1.7 of OmegaT.
Didier