This macro allows you to use Google Translate for free, but it is limited and unreliable.
For reliability, please use the regular API.
Please see the following thread for basic configuration of Termux and Termux:Tasker.
This time pkg install nmap and pkg install android-tools are not necessary.
apt update
apt upgrade
pkg install vim
pkg install python
pip3 install googletrans==4.0.0-rc1
mkdir -p ~/.termux/tasker
cd ~/.termux/tasker
Copy translate.py to the designated location using the following procedure.
translate.py
chmod +x translate.py
Follow the steps below to give MacroDroid the permission to run Termux.
Import and execute macros.
Set parameters in local variables.
"terget_lang" specifies the target language for translation.
The source language is automatically recognized, but words that are too short will be misrecognized.
In the "text" field, enter the text you wish to translate.
When the macro is executed, the translated text will be displayed in "output".
For more information
For reliability, please use the regular API.
Please see the following thread for basic configuration of Termux and Termux:Tasker.
Wifi ADB debug mode lost on restart?
oh that was it , sorry, i just search only the digits .-) thanks so much @MacroDroidDev I wish we could search just the numbers
www.macrodroidforum.com
apt update
apt upgrade
pkg install vim
pkg install python
pip3 install googletrans==4.0.0-rc1
mkdir -p ~/.termux/tasker
cd ~/.termux/tasker
Copy translate.py to the designated location using the following procedure.
Wifi ADB debug mode lost on restart?
oh that was it , sorry, i just search only the digits .-) thanks so much @MacroDroidDev I wish we could search just the numbers
www.macrodroidforum.com
translate
MediaFire is a simple to use free service that lets you put all your photos, documents, music, and video in a single place so you can access them anywhere and share them everywhere.
www.mediafire.com
chmod +x translate.py
Follow the steps below to give MacroDroid the permission to run Termux.
Wifi ADB debug mode lost on restart?
oh that was it , sorry, i just search only the digits .-) thanks so much @MacroDroidDev I wish we could search just the numbers
www.macrodroidforum.com
Import and execute macros.
Set parameters in local variables.
"terget_lang" specifies the target language for translation.
The source language is automatically recognized, but words that are too short will be misrecognized.
In the "text" field, enter the text you wish to translate.
When the macro is executed, the translated text will be displayed in "output".
For more information
GitHub - ssut/py-googletrans: (unofficial) Googletrans: Free and Unlimited Google translate API for Python. Translates totally free of charge.
(unofficial) Googletrans: Free and Unlimited Google translate API for Python. Translates totally free of charge. - ssut/py-googletrans
github.com