{"ygPerms":{"resourceCapabilityList":[{"resourceType":"GROUP","capabilities":[{"name":"UPDATE"},{"name":"READ"},{"name":"WELCOME_MSG"},{"name":"PENDING_COUNT"},{"name":"ACTIVITY_LOGS"}]},{"resourceType":"PHOTO","capabilities":[{"name":"READ"},{"name":"READ"},{"name":"UPLOAD"},{"name":"UPDATE"},{"name":"DELETE"},{"name":"COPY"},{"name":"MOVE"},{"name":"APPROVE"},{"name":"UPLOADTEMP"},{"name":"GROUPCOVER"}]},{"resourceType":"FILE","capabilities":[{"name":"READ"},{"name":"CREATE"},{"name":"UPDATE"},{"name":"DELETE"},{"name":"AUTO_SEND"}]},{"resourceType":"MEMBER","capabilities":[{"name":"READ"},{"name":"READ"},{"name":"EDIT_MODERATOR"},{"name":"DELETE"},{"name":"CREATE"},{"name":"UPDATE"},{"name":"BAN"}]},{"resourceType":"LINK","capabilities":[{"name":"READ"},{"name":"CREATE"},{"name":"UPDATE"},{"name":"DELETE"},{"name":"MOVE_LINK"}]},{"resourceType":"CALENDAR","capabilities":[{"name":"READ"}]},{"resourceType":"DATABASE","capabilities":[{"name":"CREATE"},{"name":"READ"},{"name":"READ_DATA"}]},{"resourceType":"POLL","capabilities":[{"name":"READ"},{"name":"VOTE"},{"name":"UPDATE"},{"name":"CREATE"},{"name":"DELETE"},{"name":"CLOSE"}]},{"resourceType":"MESSAGE","capabilities":[{"name":"CREATE"},{"name":"READ"},{"name":"DELETE"}]},{"resourceType":"PENDING_MESSAGE","capabilities":[{"name":"READ"},{"name":"UPDATE"},{"name":"DELETE"}]},{"resourceType":"ATTACHMENTS","capabilities":[{"name":"READ"},{"name":"DELETE"}]},{"resourceType":"PHOTOMATIC_ALBUMS","capabilities":[{"name":"READ"},{"name":"UPLOAD"}]},{"resourceType":"MEMBERSHIP_TYPE","capabilities":[{"name":"READ"},{"name":"CREATE"},{"name":"DELETE"},{"name":"UPDATE"}]},{"resourceType":"POST","capabilities":[{"name":"CREATE"},{"name":"READ"},{"name":"DELETE"},{"name":"UPDATE"}]},{"resourceType":"PIN","capabilities":[{"name":"CREATE"},{"name":"READ"},{"name":"DELETE"},{"name":"UPDATE"}]}],"modStatus":"MODERATOR","subStatus":"NORMAL","groupUrl":"groups.yahoo.com","intlCode":"us"},"comscore":"pageview_candidate","ygData":{"userId":348919445,"authorName":"mmattson1980","from":"&quot;mmattson1980&quot; &lt;mmattson1980@yahoo.com&gt;","profile":"mmattson1980","replyTo":"LIST","senderId":"l6m-zb9LPuLcDql-uPn3Zz_042GJ1XdKKGeVWQoh-s98If8OG-Hn1hDYvIuIIPHplro48A-hHSl7zOX_9M7F8_SkV4NuoWjEorjYnQcN","spamInfo":{"isSpam":false,"reason":"6"},"subject":"TMXMerge and removing multiple same language translations in TU&#39;s","postDate":"1237972785","msgId":13538,"canDelete":true,"contentTrasformed":false,"systemMessage":true,"headers":{"messageIdInHeader":"PGdxY3N2aCtlaWVwQGVHcm91cHMuY29tPg=="},"prevInTopic":0,"nextInTopic":13539,"prevInTime":13537,"nextInTime":13539,"topicId":13538,"numMessagesInTopic":4,"msgSnippet":"Hello, We have used OmegaT with great success for translating various OSS applications we use. In our most recent project we have three translators instead of","rawEmail":"Return-Path: &lt;mmattson1980@yahoo.com&gt;\r\nReceived: (qmail 58048 invoked from network); 25 Mar 2009 09:20:59 -0000\r\nReceived: from unknown (69.147.108.201)\n  by m8.grp.re1.yahoo.com with QMQP; 25 Mar 2009 09:20:59 -0000\r\nReceived: from unknown (HELO n18b.bullet.sp1.yahoo.com) (69.147.64.128)\n  by mta2.grp.re1.yahoo.com with SMTP; 25 Mar 2009 09:20:59 -0000\r\nDKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoogroups.com; s=lima; t=1237972859; bh=s3U8MeY9rlBul4zBtkgT8mUMuOJQylLw2zOBzTw+kyc=; h=Received:Received:X-Sender:X-Apparently-To:X-Received:X-Received:X-Received:X-Received:X-Received:Date:To:Message-ID:User-Agent:MIME-Version:Content-Type:Content-Transfer-Encoding:X-Mailer:X-Yahoo-Newman-Property:X-Originating-IP:X-eGroups-Msg-Info:X-Yahoo-Post-IP:From:Subject:X-Yahoo-Group-Post:X-Yahoo-Profile:Sender:X-eGroups-Approved-By:X-eGroups-Auth; b=NHD5mD53/xfD/8JHbBxEYGMkx7J5kBNXpmglfLlPCYBmUDVT2OlWUa9dUJDM/dkvve3KG6wu+0yjzPVtpOgYafFf3CIVaUYgcplfOsKZXNwOXoHfra2OrSQzZ7Oav8+y\r\nReceived: from [69.147.65.147] by n18.bullet.sp1.yahoo.com with NNFMP; 25 Mar 2009 09:20:59 -0000\r\nReceived: from [98.137.34.35] by t10.bullet.mail.sp1.yahoo.com with NNFMP; 25 Mar 2009 09:20:59 -0000\r\nX-Sender: mmattson1980@yahoo.com\r\nX-Apparently-To: OmegaT@yahoogroups.com\r\nX-Received: (qmail 5920 invoked from network); 25 Mar 2009 09:19:47 -0000\r\nX-Received: from unknown (69.147.108.202)\n  by 98.137.34.37 with QMQP; 25 Mar 2009 09:19:47 -0000\r\nX-Received: from unknown (HELO n38b.bullet.mail.sp1.yahoo.com) (66.163.168.152)\n  by mta3.grp.re1.yahoo.com with SMTP; 25 Mar 2009 09:19:47 -0000\r\nX-Received: from [69.147.65.174] by n38.bullet.mail.sp1.yahoo.com with NNFMP; 25 Mar 2009 09:19:46 -0000\r\nX-Received: from [98.137.34.33] by t12.bullet.mail.sp1.yahoo.com with NNFMP; 25 Mar 2009 09:19:46 -0000\r\nDate: Wed, 25 Mar 2009 09:19:45 -0000\r\nTo: OmegaT@yahoogroups.com\r\nMessage-ID: &lt;gqcsvh+eiep@eGroups.com&gt;\r\nUser-Agent: eGroups-EW/0.82\r\nMIME-Version: 1.0\r\nContent-Type: text/plain; charset=&quot;ISO-8859-1&quot;\r\nContent-Transfer-Encoding: quoted-printable\r\nX-Mailer: Yahoo Groups Message Poster\r\nX-Yahoo-Newman-Property: groups-system\r\nX-Originating-IP: 66.163.168.152\r\nX-eGroups-Msg-Info: 1:6:0:0:0\r\nX-Yahoo-Post-IP: 195.236.127.254\r\nFrom: &quot;mmattson1980&quot; &lt;mmattson1980@yahoo.com&gt;\r\nSubject: TMXMerge and removing multiple same language translations in TU&#39;s\r\nX-Yahoo-Group-Post: member; u=348919445; y=sKf3lNh1ipvX12t2wql-r-bdHb3y63kWtdNhfk5AjrtAuUz4_ggK\r\nX-Yahoo-Profile: mmattson1980\r\nX-eGroups-Approved-By: gdkbnx1 &lt;gdkbnx@tut.by&gt; via web; 25 Mar 2009 09:20:58 -0000\r\n\r\nHello,\n\nWe have used OmegaT with great success for translating various OSS =\r\napplications we use. In our most recent project we have three translators i=\r\nnstead of just me. To allow each of us to translate the same project separa=\r\ntely, I wrote a Bash wrapper around TMXMerge:\n\nhttp://adito.wiki.sourceforg=\r\ne.net/translating\n\nAnyways, now we&#39;re testing the translation in the applic=\r\nation and fixing translation errors. However, when TMXMerge runs, the merge=\r\nd TMX file has entries like this:\n\n&lt;tu&gt;\n         &lt;prop type=3D&quot;x-merge-mt&quot;&gt;=\r\ntrue&lt;/prop&gt;\n\n         &lt;tuv lang=3D&quot;EN-US&quot;&gt;\n            &lt;seg&gt;English origina=\r\nl&lt;/seg&gt;\n         &lt;/tuv&gt;\n\n         &lt;tuv lang=3D&quot;FI&quot;&gt;\n            &lt;seg&gt;Old, b=\r\nad Finnish translation&lt;/seg&gt;\n         &lt;/tuv&gt;\n\n         &lt;tuv lang=3D&quot;FI&quot;&gt;\n  =\r\n          &lt;seg&gt;Fixed Finnish translation&lt;/seg&gt;\n         &lt;/tuv&gt;\n&lt;/tu&gt;\n\nWhen =\r\nwe load this merged translation database in OmegaT (2.0beta), it drops the =\r\n_fixed_ (second) translation and uses the old, bad one. I tried TMXCleaner =\r\nand a couple of generic XML tools, but none seemed to do the trick. A searc=\r\nh in this group yielded nothing I could use, either. Is there any way to fi=\r\nx this automatically without fixing the TMX file by hand with a text editor=\r\n?\n\nIf this functionality does not exist, we&#39;d like to write a script (Pytho=\r\nn, Ruby, Java...) that does the job automatically. Or better yet, integrate=\r\n this functionality into OmegaT. Or TMXMerge/TMXCleaner if their source is =\r\navailable. Any suggestions regarding this?\n\nMany thanks for this great appl=\r\nication!\n\nSamuli\n\n\n"}}