13 mar 2025
How to translate a webpage
An easy way to translate a whole webpage into other languages
You can easily translate a whole webpage, say: from English to Portuguese, using a command-line called translate-shell.
For this, just install it on your Linux box and issue a simple command, like so:
- Open a terminal and issue these commands:
- sudo apt install translate-shell
- Then, find, e.g., a webpage written in English
- https://www.gotquestions.org/who-is-God.html
- Issue this command:
- trans -browser firefox :pt https://www.gotquestions.org/who-is-God.html
- Where firefox can be any other browser (chrome, chromium, brave-browser, et.al)
- And the URL can be anything that you want to read in your own language
- See the manpage for translate-shell to get more info about this superb command…
- man trans
- It is that simple!
- 🤓