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
-
15:10
SB Mowing
1 month agoShe had TEARS OF JOY on her face - An update on Beth
8.34K31 -
LIVE
Lofi Girl
3 years agolofi hip hop radio 📚 - beats to relax/study to
202 watching -
LIVE
Nikko Ortiz
2 hours agoLIVE - Trying Rumble Studio!
201 watching -
9:30
Sugar Spun Run
5 hours agoBlack and White Cookies
31K1 -
2:45
SLS - Street League Skateboarding
4 days agoManny Santiago's 'THIS IS 40' Part
18.3K2 -
6:40
Homesteading Family
5 days agoNever Make Pie Crust From Scratch Again (Do THIS Instead)
14.2K4 -
44:20
Melissa K Norris
3 days ago $0.30 earnedThe Most Overlooked Way to Preserve Food for Months (No Freezer Needed) w/ Sam Knapp
10K1 -
23:00
Tony Jeffries
6 days agoThe Best & Worst Boxing Training Methods (Ranked by Olympic Boxer)
7.06K -
44:44
Scammer Payback
17 days agoCrazy Confrontation with Hacked Scammer Group
34K20 -
1:15:13
Steven Crowder
4 hours agoIt Isn't Both Sides: They Crossed The Rubicon When They Killed Charlie
348K315