Jump to content

Can I link a local file to a google translate document query?

Recommended Posts

I would like to use Alfred's builtin `Translate '{query}'`, which uses google translate, to translate local PDF documents in addition to text strings.


I know that a link to an online PDF file can be passed to a google translate query in the following way:


http://translate.google.com/translate?sl=auto&tl=nl&u=`<URL to any online PDF file>`


to translate an online PDF file.


This works as expected if I pass the URL to the online file as the query part in Alfred.


But that does not seem to work for local files. Is there a way to link local files?

I've searched for Alfred workflows that do that but could only find more variations of the builtin translate functionality.

Edited by shahar.kadmiel
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...