Inspiration

Discord has become such a popular platform for everyone and I wanted to create a project that anyone could use, so I decided to make a Discord bot. I'm also a Valorant Esports fan that is into the international scene, but it's difficult for me to keep up with regions such as Japan and Brazil since I can't understand the commentators and I'm too lazy to paste text from a website to google translate then to the discord server I'm in. This discord bot allows not only me, but any discord user to translate any text in a fast manner directly on the platform.

What it does

iTranslate utilizes Google Cloud's Translate API to translate any piece of text into any language that the API supports. It's also able to return a randomized meditation quote into any supported language as well.

How we built it

I used Python, BeautifulSoup to web scrape, along with Google Cloud's Translate API and Discord's API.

Challenges I ran into

  • Setting up work environment was difficult since this is my first time using the Google Cloud API.
  • Figuring out how to web scrape and turning the information into a usable text file for the main file.
  • Figuring out how to use Google Cloud's Translate API and how to implement it with Discord's API.

Accomplishments that we're proud of

It's simple, but I'm really proud that it actually works and I can use it on my own Discord server!

What I learned

  • How to use BeautifulSoup to web scrape elements from a website.
  • Learned about Google Cloud's API service and how to set up my work environment.
  • How to implement Google Cloud's Translate API and Discord's API to make a working bot.

What's next for iTranslate

The vision of this project was supposed to be either a mobile or web app that focuses on what I believe is the most important in regards to mental health, that is meditation and mindful breathing. I am a second bachelors student majoring in computer science only in my first semester so there's so much I need to learn, so I plan on learning all of the tools necessary to build off this project to get to that original vision I had for iTranslate.

Share this project:

Updates