Bug 993501
Summary: | TMX export contains significant duplication | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Retired] Zanata | Reporter: | Damian Jansen <djansen> | ||||||
Component: | Performance | Assignee: | Sean Flanigan <sflaniga> | ||||||
Status: | CLOSED WORKSFORME | QA Contact: | Zanata-QA Mailling List <zanata-qa> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | development | CC: | camunoz, djansen, sflaniga, zanata-bugs | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2014-11-19 05:22:51 UTC | Type: | Bug | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Bug Depends On: | 980659 | ||||||||
Bug Blocks: | |||||||||
Attachments: |
|
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 |
Created attachment 783182 [details] Example tmx 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> ... </tu> 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): Dev How reproducible: Moderate, always Steps to Reproduce: Pre: - 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 Actual results: See tmx1.tmx Expected results: See tmx1_chopped.tmx Additional info: