Merge and split segments in OmegaT (update)

The OmegaT script for merging and splitting segments has received a few new improvements:

  • The locale code for the “MergeSplit” rule set now matches the project’s source locale. This may not be very convenient in some cases, but it was introduced to work around a new development in OmegaT that reverts the names of the sets containing only the language code followed by .* back to their predefined names (i.e. “MergeSplit” created for “EN.*” will become “English” for “EN.*”).
  • If separateMappingRule is set to false, new rules created by the script will be added to the first set with the matching locale or language code (see this post for available options in the script and how to set them).
  • All dialogs (alerts and confirmations) are now placed in the center of the main OmegaT window. This solves a rather annoying problem in a multi-monitor setup where all new dialogs would pop up on the main screen regardless of the position of OmegaT.

The new version has been tested on OmegaT 5.7.x and 6.x. If you need help with installing and using scripts in OmegaT, see this post.

The script is available on GitHub and FS.net.

If you need more info on how to install and use OmegaT scripts, see this quick guide.

If you find this script useful, please leave a comment.

There’s also a very easy way to say thank you.
Your support makes more scripts like this possible.

Happy merging and splitting!

Leave a comment