Created attachment 783182 [details]
Description of problem:
Every translated string has its own copy of
<tu tuid="project:version:path:content.xml:id" srclang="en-us">
<tuv xml:lang="en-us"><seg>Source text</seg></tuv>
This means that for every single line of $translations-1, there are three unnecessary ones. In characters, in a small file, this equated to more than a third of the entire file being duplication.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
- A project version with three languages, and three strings translated
- Signed in as admin
1. Go to project->project version
2. Click Export to tmx
3. Save the file
4. View the file
Created attachment 783183 [details]
Example chopped tmx
I haven't been able to reproduce the problem easily on the tm-import branch, so I recommend testing again after tm-import is merged into master. There have been some changes in the way we generate TMX, even for translations which weren't imported.
Actually, I haven't been able to reproduce the problem using the master branch either.
We need more information about the translation project which is being exported.
Retested, no longer an issue