Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

You can develop Powershell Scripts that are executed by the Beebox each time a new source file is processed or a translated files are created.

The Beebox logs operations on both source files and target files. Source file operations refer to verification of file format and the extraction of text contents. Target file operations refer to the creation of the final or preliminary (MT) translated files. These operations can run both automatically (see the various Automation options) or be triggered from the Beebox user interface. Whenever a file operation fails, the log includes a detailed error description. If automated, the system will retry failed operations in regular intervals.

Powershell scripting lets you:

...

  • log: The path of the file containing all file operations since the last script execution.
  • project: The project id. This information is included for information purposes.
 

Log file format

The Beebox logs operations on both source files and target files. Source file operations refer to verification of file format and the extraction of text contents. Target file operations refer to the creation of the final or preliminary (MT) translated files. These operations can run both automatically (see the various Automation options) or be triggered from the Beebox user interface. Whenever a file operation fails, the log includes a detailed error description. If automated, the system will retry failed operations in regular intervals.

The log file contains one line per source or target file operation. Each line is composed of pipe separated fields. Some characters are encoded and you need to unencode them: "\" => "\\", {newline} => "\n", {linefeed} => "\r", "|" => (removed).

...

{project base directory}\temp\actions-files.log

...

By the way, when your script is executed it is passed a copy of this file. Upon completion, the original log file is deleted. This simple mechanism ensures that you always receive those changes that you did not yet process. If you would like to keep all historical events, your script can copy the log to a different location.

...