Press the language in that you want to translate something (the language is shown in the top right corner) type what you want to translate in the box it can be written in any language.
Thanks to Coding for kids in Scratch 3 book by Raj Sidhu for the original code for French!