Premium Only Content

LibreTranslate Tutorial: Full Setup Guide
Dive into our detailed tutorial on setting up LibreTranslate, an open-source alternative to Google Translate. This video walks you through the entire process, from setting up a DigitalOcean VPS to installing LibreTranslate, configuring a server, and even creating a website with the service. Learn how to use Python to interact with the LibreTranslate API and perform multiple translations efficiently. Perfect for developers and language enthusiasts looking to host their own translation service.
---
📝 Prefer reading step-by-step instructions? Check out the full written guide 👇
https://watsontechworld.com/libretranslate-setup-guide/
---
* LibreTranslate: https://libretranslate.com/
* LibreTranslate’s GitHub repository: https://github.com/LibreTranslate/LibreTranslate
---
💻 Get started with cloud or VPS hosting with DigitalOcean and receive a $200 credit for 60 days through our link 👇
https://watsontechworld.com/digitalocean
---
Get my coloring book, Watson the Time-Travelling Dog: Dogs and Dinosaurs Adventure Coloring Book 1 🐕🦖🎨👇
https://watsoncoloringbooks.com/book1-locations/
Join Watson and his friends on an exciting time-travel adventure filled with dinosaurs and fun! Perfect for kids and coloring book enthusiasts alike.
---
Video Chapters:
00:00 Intro to LibreTranslate
01:46 LibreTranslate GitHub repository
01:55 Setting up a DigitalOcean VPS
06:17 Initial logging into VPS with SSH
08:00 Updating server
09:06 Making a new username
10:57 Reboot #1
11:30 Logging in with new non-root username
12:05 Installing necessary packages for libretranslate
13:53 Installing and setting up libretranslate package
16:39 Running libretranslate command for first time
18:50 Running modified libretranslate command that allows us to access it via the Internet
20:05 Accessing LibreTranslate installation via a web browser
20:20 Testing LibreTranslate installation via a web browser
21:19 Discussing the LibreTranslate API
21:33 Example Python code to test LibreTranslate API for translations
23:46 Opening a Python terminal to test API interactively
24:51 Discussing the Python Code
25:46 Start setting up a website
27:00 Installing and setting up Nginx server
31:56 Setting up Cloudflare A record
33:05 Running libretranslate command again
34:28 LibreTranslate website is finally up and testing it
35:38 Closing server and setting up server so the IP address isn't directly accessible for LibreTranslate
36:24 LibreTranslate is now only accessible via the domain and not via a direct IP address in the browser
37:38 Setting up Systemd Service so website can always be up
41:18 Reboot #2
42:16 Website setup complete
42:26 Testing translations again on website to make sure it works
43:00 Continuing with updated Python code to test the API with the website
45:35 Running code in Python terminal
46:14 Testing website translations with API in different languages
49:35 Python code to translate multiple sentences at one time
52:00 Installing and using ipython3 for better interactive Python
52:35 Continuing Python code to translate multiple sentences at one time
54:20 Using pandas with Python code for more powerful way to use API to later use with CSV files
55:39 Running code using pandas and writing to a CSV file
56:22 Correcting my mistake of Python running code on the server instead of on my local computer
57:26 Running code correctly on my local computer
58:56 CSV file with original sentences and translations
01:00:12 Comparing LibreTranslate translations with Google Translate translations
01:02:26 Discussing Google Translate vs LibreTranslate again
01:03:02 Deleting DigitalOcean Droplet
01:04:25 Conclusion
---
#LibreTranslate #OpenSource #TranslationAPI #DigitalOcean #PythonTutorial #Python #OpenSourceTranslation #VPS #PythonAPI #language #languages #translation
-
29:08
Afshin Rattansi's Going Underground
1 day agoCol. Lawrence Wilkerson: World War 3 is ALREADY HERE, Netanyahu is INTENT on Greater Israel
14.7K22 -
LIVE
SpartakusLIVE
6 hours agoNONSTOP Snipes, Rockets, and BICEPS = Monday MOTIVATION
514 watching -
6:31:35
Rallied
7 hours ago $2.99 earnedSolo Challenges All Day
49.5K2 -
1:27:53
Flyover Conservatives
10 hours agoIs AI Actually Alien Intelligence? Dr. Jason Dean Exposes the Dark Side | FOC Show
32.4K2 -
1:47:36
Glenn Greenwald
7 hours agoJD Vance and Rand Paul Clash on Due Process: War on Terror Echoes; Has the U.S. Given Up on Confronting China? Ben Shapiro's Latest Falsehoods About Israel | SYSTEM UPDATE #510
101K76 -
LIVE
RaikenNight
4 hours ago $1.34 earnedExploring the Galaxy of No Mans Sky
357 watching -
LIVE
Spartan
6 hours agoRanked and Expedition 33 (NG+4 and all enemies Set to 10x health)
119 watching -
2:54:31
Jokeuhl Gaming and Chat
9 hours agoDARKTIDE - Warhammer 40k w/ Nubes and AoA
16K1 -
2:19:56
Nerdrotic
16 hours ago $3.70 earnedNerdrotic Nooner 513
49.6K2 -
BigTallRedneck
5 hours agoRANKED FINALS W OMEGA
18.3K1