How to add a language code to the output filenames?
You can have the system automatically rename your output files so that the language code of the target language is included in the filename.
The new filename will be displayed in the general Output Files folder in the Workflow Directories section only after the last job in the workflow is completed.
Go to the Configuration menu → Templates → Expressions.
Click the Add button on top of the Expressions list. You will be directed to the Add Expression - File rename rule page.
In the Template section, provide the desired expression, for example:
For a three-letter language code after the file name, enter:
${name}_${task.languageCombination.targetLanguage.langiso3}${extension}
For a three-letter language code before the file name, enter:
${task.languageCombination.targetLanguage.langiso3}_${name}${extension}
For two-letter language codes, use the langiso
variable.
Click the Save button.
Go to Projects and Quotes > Workflow Definitions (Classic).
Locate the desired workflow in the table and click the icon.
Go to the Files and Directories tab.
In the Files section, select the recently created file rename rule from the Rename Output File Expression drop-down list.
Click the Save button.
Now, when you select this workflow in a project, the system will automatically rename the output files according to the selected rule.