If you need to quickly translate text this workflow may be useful.
You need to create a Google Translate API access token to be able to use this workflow check instructions
Check it out this is a small presentation
- GT_API_KEY={your_google_translate_key}
- TARGETS={languages}
- SUBTITLE_ENABLED={when_contain_value_is_true}
Example
GT_API_KEY='122' TARGETS='pl,en,ru' SUBTITLE_ENABLED=yes
Subtitle will be disabled when
SUBTITLE_ENABLED
key or value is missing.GT_API_KEY='122' TARGETS='en' SUBTITLE_ENABLED=
The code is written in ruby. Feel free to change the code!