Build a Text-to-Speech Translator in Scratch (Supports 45+ Languages!) – Ultimate Guide

Build a Text-to-Speech Translator in Scratch (Supports 45+ Languages!) - Ultimate Guide

Introduction for Text-to-Speech Translator in Scratch

Have you ever wanted to build your own multilingual translator that can speak in different languages? With Scratch, you can! In this exciting project, we’ll guide you through building a Text-to-Speech Translator that can convert English to French, German, Spanish, and many other languages—all using Scratch’s extensions!

Whether you’re a beginner or a coding enthusiast, this tutorial will show you how to build an engaging, real-world application that teaches translation, text-to-speech (TTS), and user interaction.

What You’ll Build

An interactive Scratch app featuring a character named Abby who:

  • Translates user input from English into other languages (e.g., French, German)
  • Speaks the translation aloud in a selected voice
  • Displays the translated text visually
  • Supports more than 45 languages

Perfect for

  • Coding beginners
  • Young learners
  • Bilingual education
  • STEM classrooms

Step by Step Code to Build Text-to-Speech Translator in Scratch

Step 1: Setup – Sprite & Backdrop

📌 Setup – Sprite & Backdrop

  1. Delete the default Cat sprite.
  2. Add Abby as your translator sprite.
  3. Resize Abby to 140 for clarity.
  4. Add a backdrop: Select Colorful City or any theme you like.

Step 2: Add Extensions – Translate + Text-to-Speech

📌 Add Extensions – Translate + Text-to-Speech

Click the blue Extensions icon in the bottom-left corner of Scratch and add:

  • Translate Extension – to convert text from one language to another.
  • Text-to-Speech Extension – to make Abby speak the translated text aloud.

These blocks allow Scratch to:

  • Translate English into over 45 languages
  • Speak translations aloud with customizable voices

Step 3: Create a Variable

📌 Create Variable “translate”

  1. Go to Variables
  2. Create a variable named: translate

This variable stores the translated text and displays it on screen.

Step 4: Initializing Abby (Welcome Message)

📌 Initializing Abby (Welcome Message)

Here’s how to create a friendly introduction and prompt:

This sequence introduces Abby, resets the variable, and shows instructions to choose a language.

Step 5: Handle User Input (Press A or B)

📌 Handle User Input – Detecting Keypress

Key A → French Translation

Key B → German Translation

The above blocks:

  • Ask the user to type a sentence in English
  • Translate it using Scratch’s translate block
  • Speak it aloud in the selected language using Text-to-Speech

Don’t forget to enable the translate variable checkbox to see the translated text on screen!

Step 6: Customize the Voice (Optional)

📌 Customize the Voice – Enhancing Voice Output

You can change the voice using this block:

Try different voices for fun or clarity. For younger users, “Kitten” is a hit!

Demo in Action – French and German Translation

📌 Live Demo – French and German Translation

Example Input:

  • User types: Hello Abby
  • Presses A for French → Output: “Bonjour Abby”
  • Presses B for German → Output: “Hallo Abby”

The system speaks the translated sentence out loud.

Enhanced Features (Add-On Ideas)

📌 Enhanced Features – Extra Use Cases

Want to take it to the next level?

✅ Feature Ideas:

  • Add more key options (e.g., C for Spanish, D for Italian)
  • Store multiple translations in a list
  • Let users choose a voice from a drop-down
  • Add a flag icon for each language
  • Show original and translated text together
  • Include error handling if no input is given
  • Add a fun quiz mode for learning new words!

Languages Supported by Scratch’s Translate Extension

More than 45 languages are available including:

  • 🇫🇷 French
  • 🇩🇪 German
  • 🇪🇸 Spanish
  • 🇮🇹 Italian
  • 🇮🇳 Hindi
  • 🇨🇳 Chinese
  • 🇯🇵 Japanese
  • 🇷🇺 Russian
  • 🇰🇷 Korean
  • 🇹🇷 Turkish
    …and many more!

Final Thoughts

You’ve just built a fully functional language translator with voice support in Scratch! 🥳

This project teaches:

  • ✅ Event handling
  • ✅ Variable usage
  • ✅ Extension integration
  • ✅ Conditional logic
  • ✅ User interaction

🔁 Want to remix or expand the project? Try adding:

  • Dropdown menus
  • Custom vocabulary
  • Multiple voice styles
  • Quizzes for language learners

Call to Action

  1. Don’t forget to check out the full video tutorial by Kodex Academy here: Scratch – Text to Speech & Translator in 45+ Languages | Ultimate Guide – By Kodex Academy
  2. Like, comment & share the video
  3. Visit kodexacademy.com
  4. subscribe to the Kodex Academy YouTube channel for deeper Scratch content.

Happy coding with Kodex Academy! 🚀

Learn More with Kodex Academy

At Kodex Academy, we’re passionate about helping students learn coding in creative ways. This project teaches more than Scratch—it empowers young minds to build tools that work in the real world.

Explore more:

Stay updated with new content, free tutorials, and coding challenges!

Further Reading & Links

Recent Posts

How to Make a Math Racing Game in Scratch | Game Concepts and Complete Tutorial

In this tutorial, you’ll learn to build a Math Racing Game in Scratch. Players solve math problems to move their character forward; wrong answers benefit the opponent. It’s a race of speed, accuracy...

How to make Memory Skill Game in Scratch | Card Matching Game in Scratch – Part 2 | Step-by-Step Coding

In this tutorial you'll learn how to make memory skill game in Scratch / card matching game in Scratch. This is a great beginner‑to‑intermediate project for scratch tutorial game, scratch programming...

How to make a Card Matching Game in Scratch | Memory Skill Game in Scratch – Part 1 | Step-by-Step Coding

In this Scratch tutorial, we'll walk you through how to make a card matching game in Scratch, also known as a memory game or skill game. This is a popular beginner project that introduces essential...

Create a Quiz Game in Scratch | Spelling Test in Scratch | Picture Identification in Scratch

Want to make learning spelling fun, visual, and interactive? In this Scratch tutorial, you'll learn how to make a spelling quiz game in Scratch using picture identification, text-to-speech, and...

How to make a Double Jump Game in Scratch | Platformer game in Scratch | Step by Step Coding

How to make a Double Jump Game in Scratch. Scratch is a fantastic platform for beginners to learn programming by making games, animations, and interactive stories. Among the many kinds of games...

How to Use Variables in Scratch | Variable Blocks in Scratch | Complete Tutorial

Introduction: Variable Blocks in Scratch Whether you’re just getting started with Scratch programming or looking to take your projects to the next level, understanding variables and lists is...

How to Make Earth Revolve Around the Sun in Scratch: A Complete Tutorial & Enhancements

Animating Earth revolving around the Sun is a classic beginner/intermediate Scratch animation project. It combines trigonometry (sine & cosine), variables, loops, and visual scripting. Kids can learn...

How to Make a Game in Scratch | Snake Game in Scratch | Step-by-Step Game Coding

In this tutorial, we’ll build a Snake Grid style game in Scratch step by step (very similar to the Kodex Academy example). By doing this, you’ll cover many of the core Scratch building blocks. We will...

How to Use Operator Blocks in Scratch | Full Guide with Live Coding & Examples

One of the most powerful features in Scratch is its Operator Blocks — essential for handling math operations, logic comparisons, and string manipulations...

How to Create a Thirsty Crow Story in Scratch | Animation Story in Scratch for Kids

In this tutorial, you’ll learn how to create the classic “Thirsty Crow” story in Scratch, using simple animation, voice, and sprite actions. This is a perfect project for kids who are new to coding...

How to Create a Dodge Ball Game in Scratch: A Complete Step-by-Step Tutorial for Beginners

This step-by-step tutorial will guide you through how to create a Dodge Ball game in Scratch from scratch! In this game, you’ll control a character trying to dodge falling balls, earn points, and...

How to use Sensing Blocks in Scratch | Scratch programming for beginners | Live Coding with Examples

In today’s session, we’re diving deep into one of the most powerful features of Scratch — Sensing Blocks. These blocks allow your projects to interact with the world, detect touches, respond to...

Build an Egg Shooting Game in Scratch: Step-by-Step Coding | Complete Guide for Beginners

Learn how to create a fun, interactive shooting game in Scratch with this detailed tutorial inspired by classic arcade games. Perfect for kids and beginners looking to dive into Scratch programming!...

How to Make a Maze Game in Scratch | Step by Step Coding | Full Tutorial & Enhancements

Introduction: Why Build a Maze Game in Scratch? If you’re looking for a Scratch beginner project idea that’s fun, interactive, and educational, then building a maze game in Scratch is the...

Scratch Control Block Tutorial: Full Guide with Loops, Conditions, Cloning & Code Examples

“Control blocks” in Scratch are those blocks (from the Control category) that manage the flow of your script: when things happen, how many times they happen, making decisions, repeating actions...

How to Create a Car Racing Game in Scratch – Part 2 – Step-by-Step Coding

Welcome to your ultimate guide on how to make a car racing game in Scratch—a step‑by‑step tutorial. You'll learn Scratch game development techniques, see actual code blocks, and discover enhancements...

How to Make a Hurdle Jumping Game in Scratch – Build a Fun Hurdle Runner with Score & Win Screen

Are you ready to create your very own hurdle jumping game in Scratch—just like the iconic Chrome Dino or Super Mario? 🎮 Whether you're new to Scratch or just looking for your next fun project, this...

How to Create a Car Racing Game in Scratch – Part 1 – Step-by-Step Coding

In this Scratch car racing game tutorial, we’ll walk you through how to create a fully functional, visually exciting, and incredibly fun car racing game using Scratch. In this blog, we’ll cover: How...
Scroll to Top