translate () to ()
translate [] to [ v]::extension reporter
Category Translate
Type Reporter
Introduced in 3.0

The Translate () to () block is a Translate Extension block and a reporter block in Scratch 3.0. This block translates a string to a different language. There are currently 60 languages available.

This block requires a connection to the Internet, because it uses the Google Translate API to do so.

Uses

  • To translate something to another language
when gf clicked
say (translate [Hello] to [Dutch v]::extension)
  • To create a game that allows several languages in it
when green flag clicked
forever

if <(Chosen Language) = [English]> then
say [Hello] for (2) secs
end

if <(Chosen Language) = [Dutch]> then
say (translate [Hello] to [Dutch v]::extension) for (2) secs
end

if < (Chosen Language) = [German] > then
say (translate [Hello] to [German v]::extension) for (2) secs
end

end

See Also