Can you please provide an OS X Service for OmegaT.
OmegaT already provides access to OS X Services but it would be really cool to be able to use OmegaT as an OS X Service.
What I mean is:
Many apps exist to do this with Google Translate but AFAIK no Mac CAT tool is able to do this.
Thanks for considering this.
As a Java program it is not possible for OmegaT to provide its own services.
Incidentally what you propose wouldn't work anyway for “translation”; CAT tools do not generate translations, so the best you could do is a lookup in a TM and maybe return something within a certain match percentage. In the general case you will almost never get anything worthwhile from that. If you really wanted to do it you could probably put it together with an Automator workflow wrapping a script that calls Okapi Tikal.
Lookup and return 100% matches is what I'm looking for. The purpose would be to translate text in proprietary file formats that cannot be imported into any CAT tool.
Here:
/Applications~/TM~/Library/Services-sland-tlfromen-usandja-jpto your desired source and target languages respectivelyThanks a lot for this! I was aware of the Okapi Framework but I didn't know it provided such a nice API for accessing TMXs.
The service does not have to be provided by OmegaT, hence the fact that OmegaT is a Java application is not really relevant. As you wrote, just looking for matches is not the best way to use OmegaT, but it would be possible to create a service that takes the selected text, saves it to a text (or docx) file, puts it into an already existing OmegaT project (or create one from scratch) and launch OmegaT on it.
Such a service is
Discussion of such peripheral tools should take place elsewhere, like the user list.