Error message when uploading a large TMX file to SDL BeGlobal Trainer: File size exceeds allowed limit
000001019|7/31/2020 8:57 PM
When a large TMX file is uploaded to BeGlobal Trainer for new language pair creation, you receive the following error message:
File size exceeds allowed limit
You may upload as many TMX files as needed for each Language Pair creation, but BeGlobal Trainer has a maximum limit of 250 MB per file.
Split your TMX file into smaller sizes. For example, if your file is 600 MB, then split the file into 3 smaller files, with each file under 250 MB. Each of the smaller files could then be uploaded to BeGlobal Trainer.
If possible, check with your translation management system for an option in the translation memory export menu that would export the translation memory into several files.
Else, use a Linux bash script to split a TMX file into small TMX files:
Download the open source script in the zip file split_tmx_v2.zip attached to the right pane of this article
Extract script split_tmx_v2.shto local directory
The script requires 2 parameters:
-f name of the TMX file to create smaller TMX files from
-n number of smaller files to be created
For example: sh split_tmx_v2.sh -f TM_EN-US_FR.tmx -n 3
After execution, this script will create in the current directory 3 files with a number prefix: