Menu

#994 Allow scripts to run in console mode

future
closed-fixed
None
5
2014-10-21
2014-05-21
No

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.

Discussion

  • Briac Pilpré

    Briac Pilpré - 2014-09-28

    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:
    - After project loading (LOAD),
    - after compiling the translation (COMPILE)
    - after closing the project (CLOSE).

     
  • Didier Briel

    Didier Briel - 2014-09-29
    • status: open --> open-fixed
    • assigned_to: Briac Pilpré
     
  • Didier Briel

    Didier Briel - 2014-09-29

    Implemented in SVN (/trunk).

    Didier

     
  • Didier Briel

    Didier Briel - 2014-10-21
    • status: open-fixed --> closed-fixed
     
  • Didier Briel

    Didier Briel - 2014-10-21

    Implemented in the released version 3.1.7 of OmegaT.

    Didier

     

Log in to post a comment.