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
-
16:16
Robbi On The Record
12 days ago $17.72 earnedThe Dark History of Halloween | What You Should Know
56.5K46 -
58:18
Flyover Conservatives
1 day agoThe Truth About Halloween that You DIDN’T Know - Holiday Special - Historian Bill Federer | FOC SPECIAL Show
38.4K2 -
3:10:46
Ellie_roe
5 hours agoEllie and Errys Halloween Spooktacular || Random Horror Games
16.2K -
50:27
Sarah Westall
7 hours agoBig Banks Caught Rigging Market, IMF tells World to “Buckle Up” w/ Andy Schectman
32.2K10 -
13:54
Degenerate Jay
13 hours ago $1.15 earned5 Best Superhero Movies To Watch On Halloween
15.6K4 -
59:03
NAG Podcast
6 hours agoSarah Fields: BOLDTALK W/Angela Belcamino
25.5K6 -
1:21:41
Glenn Greenwald
9 hours agoGlenn Takes Your Questions: On the Argentina Bailout, Money in Politics, and More; Plus: Journalist Jasper Nathaniel on Brutality and Settler Attacks in the West Bank | SYSTEM UPDATE #541
82.8K40 -
3:10:08
Barry Cunningham
6 hours agoPRESIDENT TRUMP TO USE NUCLEAR OPTION? FOOD STAMPS END! | SHUTDOWN DAY 31
49.4K34 -
1:06:56
BonginoReport
14 hours agoThe Battle Between Good & Evil w/ Demonologist Rick Hansen - Hayley Caronia (Ep.168)
100K38 -
1:12:57
Kim Iversen
9 hours agoBill Gates Suddenly Says “Don’t Worry About Climate Change”?
90.5K62