Announcing Perl module File::TTX
Thread poster: Michael Roberts

Michael Roberts  Identity Verified
United States
Local time: 22:45
Member (2002)
German to English
+ ...
Jul 9, 2010

I know it's considered somewhat passé to use TTX nowadays, but if you're like me and still like TagEditor 2007, yet would really like to be able to use Perl to build and/or transform your TTX files, extract data, and what have you ... then I've finally managed to upload some code to CPAN to do that kind of thing.

This is actually the fourth time I found myself writing this code; this time I bit the bullet, cleaned it up and wrote some unit tests, and set it free. Now next time I won't have lost it before needing it for another job, eh?

The module is here and of course available under the Artistic License for whatever you want to do with it; if you find it useful, I'd like to hear from you.


Direct link Reply with quote
 

Paulo Amariz  Identity Verified
Brazil
Local time: 23:45
English to Portuguese
+ ...
Doubts on using the module Jan 7, 2011

Hello Michael,

First of all, congratulations for this module! I loved it!

I am only having problems to use it to replace some translated text.

My intention is, for example:

change this:
the car is blue
xyzk

to this:
the car is blue
XYaa

I mean, changing only the target portion.

I know very well the replacing functions of perl.

I just need to know how to access the "->translated" elements and generate them in a new file.

Could you please provide an example?

Thank you so much!

Best regards,

Paulo


Direct link Reply with quote
 


To report site rules violations or get help, contact a site moderator:


You can also contact site staff by submitting a support request »

Announcing Perl module File::TTX

Advanced search






Anycount & Translation Office 3000
Translation Office 3000

Translation Office 3000 is an advanced accounting tool for freelance translators and small agencies. TO3000 easily and seamlessly integrates with the business life of professional freelance translators.

More info »
Déjà Vu X3
Try it, Love it

Find out why Déjà Vu is today the most flexible, customizable and user-friendly tool on the market. See the brand new features in action: *Completely redesigned user interface *Live Preview *Inline spell checking *Inline

More info »



Forums
  • All of ProZ.com
  • Term search
  • Jobs
  • Forums
  • Multiple search