Version 3.1.0 of OmegaT has seen massive improvements in the area of scripts. This video explains the most important enhancements.
Saving window position and size in preferences
OmegaT now keeps the Scripting window position and size in the preferences file, so that every time you open this window, you do not have to resize or move it all over again.
New location for the Run button
The Run button now displays in the lower left corner of the Scripting window, which makes it easier to access. Remember also that you can press it using the Alt+R hotkey.
User-friendly script names
The scripts now support user-friendly names that display in the script list instead of the file names. Most standard scripts already have names configured. To add names to other scripts, you can do the following:
|Add a line to the beginning of a script.||/* :name=QA – Check Rules :description=The rules are based on the Checkmate Quality check|
|Сreate a file that has the same name as the script, but properties extension. In this file, you need to provide values for name and description.||name=Convert XLIFF to TMX
description=Converts translated XLIFFs into translation memories
You can also create a file script_name_[language].properties which will have the localized name and description for that language. For example, this localization file includes the name and description that will display in the Japanese version of OmegaT.
|replace_with_match_no_tags_ja.properties||Localized name and description for the Japanese language|
OmegaT now monitors the scripts folder for changes in real time. If you make any changes to any script, the script list updates automatically without having to press F5.
To make sure you do not miss future videos about the latest functions added to OmegaT, subscribe to our YouTube channel about OmegaT.
If this blog post was of help to you, please share a link to it on your site or social media.