Collect all project segments in one text file
Автор темы: CafeTran Trainer
CafeTran Trainer
CafeTran Trainer
Нидерланды
Член ProZ.com c 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
Польша
Local time: 22:40
Член ProZ.com c 2005
английский => польский
+ ...
But... Jan 15

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

 
CafeTran Trainer
CafeTran Trainer
Нидерланды
Член ProZ.com c 2006
Автор темы
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
Нидерланды
Член ProZ.com c 2006
Автор темы
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
Нидерланды
Член ProZ.com c 2006
Автор темы
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:

Модератор(ы) этого форума
Natalie[Call to this topic]

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

Collect all project segments in one text file






Wordfast Pro
Translation Memory Software for Any Platform

Exclusive discount for ProZ.com users! Save over 13% when purchasing Wordfast Pro through ProZ.com. Wordfast is the world's #1 provider of platform-independent Translation Memory software. Consistently ranked the most user-friendly and highest value

Buy now! »
Pastey
Your smart companion app

Pastey is an innovative desktop application that bridges the gap between human expertise and artificial intelligence. With intuitive keyboard shortcuts, Pastey transforms your source text into AI-powered draft translations.

Find out more »