Collect all project segments in one text file
Initiator des Themas: CafeTran Trainer
CafeTran Trainer
CafeTran Trainer
Niederlande
Mitglied (2006)
Jan 12

Sometimes you want to collect all project segments in a text file or on the clipboard, regardless of the file format of the project (sdlxliff, docx, mif, etc.).

Here is a macro that does just that: it collects all segments from the projects and writes them to a text file on the desktop. You can send this file to an AI system or whatever.

Image-000222

Image-000221

Big animation: https://share.cleanshot.com/cNnCqw6x


JatinSingh
 
Piotr Bienkowski
Piotr Bienkowski  Identity Verified
Polen
Local time: 19:36
Mitglied (2005)
Englisch > Polnisch
+ ...
But... Jan 15

There is Project > Export and exchange > To text file ... command in Cafetran?

 
CafeTran Trainer
CafeTran Trainer
Niederlande
Mitglied (2006)
THEMENSTARTER
Can you bring me the menu please? Jan 15

Piotr Bienkowski wrote:

There is Project > Export and exchange > To text file ... command in Cafetran?


See the second action in the group ...

By the way, Piotr: This macro has been enhanced to a Phyton-driven ChatGTP pre-translation solution now. See my other post for a demo.



[Edited at 2025-01-15 14:20 GMT]


 
CafeTran Trainer
CafeTran Trainer
Niederlande
Mitglied (2006)
THEMENSTARTER
Use Apple Translate in CafeTran Espresso Jan 18

By clicking the language icon in Safari's address bar, you can translate the page you are viewing.
Image-000239

Image-000241

Since there is no API for Apple Translate, you must access it in a different way.

You can use a Shortcut (a macOS automation feature) to send the exported project segments to Apple Translate and get the translation back. Align it. And use the TMX in CafeTran Espresso.

Image-000240

Now you can use Apple Translate, e.g. as a replacement for the defunct IBM Watson.

Let's see if Apple Translate will be supported in the upcoming version of CafeTran Espresso. You can vote here by clicking the Agree button.


[Edited at 2025-01-18 06:05 GMT]


 
CafeTran Trainer
CafeTran Trainer
Niederlande
Mitglied (2006)
THEMENSTARTER
Segmentation Jan 18

You will probably need to do some segmentation of the text you want to feed Apple Translate:

Image-000242

Image-000243


 


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

Moderatoren dieses Forums
Natalie[Call to this topic]

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

Collect all project segments in one text file






Trados Studio 2022 Freelance
The leading translation software used by over 270,000 translators.

Designed with your feedback in mind, Trados Studio 2022 delivers an unrivalled, powerful desktop and cloud solution, empowering you to work in the most efficient and cost-effective way.

More info »
CafeTran Espresso
You've never met a CAT tool this clever!

Translate faster & easier, using a sophisticated CAT tool built by a translator / developer. Accept jobs from clients who use Trados, MemoQ, Wordfast & major CAT tools. Download and start using CafeTran Espresso -- for free

Buy now! »