Jump to content

Translate This - Translate any text with OpenAI and DeepL


Recommended Posts

 Hi there, I am submitting a newly created workflow to the Workflow gallery, it is called Translate This and uses OpenAI and DeepL API at your own choice.

 

- Say if you’re the author or submitting someone else’s workflow.

I'm the author

 

- Share a link to its main page (e.g. GitHub).

https://github.com/yinan-c/alfred-translate-this

 

- If it has dependencies, say what those are unless they are explicit in the About or README.

Runs a short python3 script, `openai`  and `deepl` libraries are included in the ./libs/ and installed from system python3 (`/usr/bin/python3 -m pip install openai 'urllib3<2' deepl --target ./libs`)

 

- Provide any data necessary for review, testing, and extra screenshots

     Usage: 

  • Set up: source language, target language, method of translation and your APIs. (Target and source language code should be following the DeepL API docs if you are using DeepL.)
  • Type anything followed by keyword trans,  to translate
  • Then select any result and  to copy text to your clipboard
  • ⌘ + ⏎ to view large text (useful if results are long)

 

 

- Provide screenshots, unless valid ones are in the About or README.

IQFgFhO.png

CleanShot2023-05-23at20_04.06@2x.thumb.png.809700731aafdf20abb7f362fefbac0f.png

Edited by yinan
Link to comment
Share on other sites

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...