I've just adapted my 'Excel to TMX' script so that it works with a number of files opened in TextEdit windows instead.
- you have contents in a number of languages, and the contents are aligned (i.e. each line is a language variation of the lines at the same position in the other files)
- you want to use all that in OmegaT, or any other TMX supporting tool
- so you want to glue all that into a nice and simple TMX
- but you also don't want to use Excel, because it's too cumbersome, or because the data has quotation marks that Excel interprets as
- Copy one language content in a file, the other language in another file (in a different window), etc. The documents do not have to be saved or named. Just create new windows as necessary and paste your contents.
- Run the script
- It will ask you for the language of the contents in the first window, then in the second window, etc.
- Use valid TMX language codes there, because the strings you enter will be the ones used in the TMX
- The script displays a progression dialog,
I've run it with ~ 500 segments in 2 windows (2 languages) and it took me about 5 seconds to create the TMX. It does not really seem to matter how many characters there are in the documents. What seems to matter is the number of lines (segments), and windows.
Also, the segmentation is exactly one segment per line. So you just create a TMX from contents that's segmented and you know is aligned.