Automatisation de la traduction par recherche et insertion depuis une base multilingue

Est-il possible de sélectionner un mot ou un groupe de mots (par ex. « Poids net »), de le rechercher automatiquement dans une base de correspondances multilingues, puis d’insérer la traduction à la place ?

Which version of macOS do you have?

Try this macro, which does what I think you want to do:

Translate using Acronym Database Macro (v11.0.4)

Translate using Acronym Database.kmmacros (3.8 KB)

I used acronyms as my test data, but you could use phrases, even phrases in other languages, if you wanted to.

bonjour

cela ne marche pas? Peut on faire la même chose mais avec un fichier texte comme source?

merci

Yes, you can do the same thing, but change the input to a file instead. Here's the change you have to make:

Of course, then you have to place the text into a file with that path and that name. You have to use the file format I showed you, above.

I tested it. It works perfectly. I hope that's what you wanted.