Scratch Language
Beginner
60 mins
Teacher/Student led
215 points
What you need:

Translate

This lesson guides students through creating a language translator using Scratch. They will learn how to use the Translate and Text to Speech extensions to translate text into different languages and make a sprite speak the translation. The lesson also includes adding sprites, creating variables, and programming interactive elements.
Learning Goals Learning Outcomes Teacher Notes Lesson Files

Live Class Feed

This is a live feed of the latest activity by your students on this lesson. It will update in real-time as they work on the lesson.
Load previous activity

    1 - Introduction

    Welcome to our exciting lesson on translating languages! In this lesson, you will learn how to use Scratch to translate text into different languages and make a sprite speak the translation out loud. This is a fun way to learn about different languages and how to use coding to create a mini language translator. Let's get started!


    2 - Create a new project

    Go to the Scratch website and create a new project, you can delete the cat sprite.

    https://scratch.mit.edu/


    3 - Add the Translate extension

    Now, we are going to add a special tool to our project called the Translate extension.

    This extension will help us translate words or sentences from one language to another. It's like having a mini language translator in our project! To add this, look for the button that says 'Extensions' at the bottom left corner of your Scratch screen and click on it. Then, find the 'Translate' extension and click on it to add it to your project.


    4 - Add the Text to Speech extension

    Now, let's add another cool tool to our project, the Text to Speech extension.

    This extension will allow our sprite to speak out loud the translations we make! It's like giving a voice to our sprite. To add this, look for the button that says 'Extensions' at the bottom left corner of your Scratch screen and click on it. Then, find the 'Text to Speech' extension and click on it to add it to your project.


    5 - Add the Kai sprite

    Add the Kai sprite from the library. We will use this sprite to ask what you want to translate and to say the answer.

    Add the following code to the Kai sprite to position him in the centre.

    when green flag clicked go to x: (0) y: (0)

    Once you've added the code, click on the green flag and Kai should go to the middle of the stage area.



    Unlock the Full Learning Experience

    Get ready to embark on an incredible learning journey! Get access to this lesson and hundreds more in our Digital Skills Curriculum.

    Copyright Notice
    This lesson is copyright of Coding Ireland. Unauthorised use, copying or distribution is not allowed.

    Scratch is developed by the Lifelong Kindergarten Group at the MIT Media Lab. It is available for free at https://scratch.mit.edu
    🍪 Our website uses cookies to make your browsing experience better. By using our website you agree to our use of cookies. Learn more