How to split .tmx/translation memory by size?

Hi!

I would like to split a large .tmx by size into small amounts. How to do that?

emoji
Parents
  • Hi  there are ways to split TMX files into several smaller files. However, you cannot set the exact size of each file, you just set how many files you want the main TMX file to be splitter into, which obviously results in TMX files of smaller size. For example, check this article:

    https://gateway.sdl.com/apex/communityknowledge?articleName=000001019

    Another method is to use Heartsome TMX.

    https://github.com/heartsome/tmxeditor8

    Click on: All installer: Microsoft OneDrive, Dropbox (the other links don't work). This is a GPL license so it can be used and distributed for free.
    Right installer: HSTMXEditor_8_0_1_Win_x86.zip

    However: For huge TMX files, you might get an error. The error will point you to the solution, which is to increase the memory by changing the Heartsome TMX Editor.ini file and increasing

    -Xmx512m

    to

    -Xmx1024m

    Once done: Open the tool. In the File menu, you have Split TMX. Choose your TMX file and the number of pieces you want it split into.
    You can also merge multiple TMX files from the File Menu, by selecting Merge TMX.

    Note that all these methods are based on non-RWS tools that you can apply at your own risk. We do not provide support for these tools/scripts.

    I hope this helps you,

    Caterina

    emoji
Reply
  • Hi  there are ways to split TMX files into several smaller files. However, you cannot set the exact size of each file, you just set how many files you want the main TMX file to be splitter into, which obviously results in TMX files of smaller size. For example, check this article:

    https://gateway.sdl.com/apex/communityknowledge?articleName=000001019

    Another method is to use Heartsome TMX.

    https://github.com/heartsome/tmxeditor8

    Click on: All installer: Microsoft OneDrive, Dropbox (the other links don't work). This is a GPL license so it can be used and distributed for free.
    Right installer: HSTMXEditor_8_0_1_Win_x86.zip

    However: For huge TMX files, you might get an error. The error will point you to the solution, which is to increase the memory by changing the Heartsome TMX Editor.ini file and increasing

    -Xmx512m

    to

    -Xmx1024m

    Once done: Open the tool. In the File menu, you have Split TMX. Choose your TMX file and the number of pieces you want it split into.
    You can also merge multiple TMX files from the File Menu, by selecting Merge TMX.

    Note that all these methods are based on non-RWS tools that you can apply at your own risk. We do not provide support for these tools/scripts.

    I hope this helps you,

    Caterina

    emoji
Children