Collect all project segments in one text file
Trådens avsändare: CafeTran Trainer
CafeTran Trainer
CafeTran Trainer
Nederländerna
Medlem (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: 09:24
Medlem (2005)
Engelska till Polska
+ ...
But... Jan 15

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

 
CafeTran Trainer
CafeTran Trainer
Nederländerna
Medlem (2006)
TOPIC STARTER
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
Nederländerna
Medlem (2006)
TOPIC STARTER
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
Nederländerna
Medlem (2006)
TOPIC STARTER
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:

Moderatorer för detta forum
Natalie[Call to this topic]

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

Collect all project segments in one text file






Protemos translation business management system
Create your account in minutes, and start working! 3-month trial for agencies, and free for freelancers!

The system lets you keep client/vendor database, with contacts and rates, manage projects and assign jobs to vendors, issue invoices, track payments, store and manage project files, generate business reports on turnover profit per client/manager etc.

More info »
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 »