{"id":25055,"date":"2025-03-27T17:59:41","date_gmt":"2025-03-27T17:59:41","guid":{"rendered":"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/digilearn\/?p=25055"},"modified":"2025-09-05T15:07:24","modified_gmt":"2025-09-05T14:07:24","slug":"scratch-codealong-build-a-language-translator-recap","status":"publish","type":"post","link":"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/digilearn\/2025\/03\/27\/scratch-codealong-build-a-language-translator-recap\/","title":{"rendered":"Scratch CodeAlong: Build A Language Translator &#8211; Recap"},"content":{"rendered":"<p>This is a recap for you and your class to follow along to that will show you how to create a multi-language translator tool in Scratch! Based on the activity done as part of the code along during AI in Schools Week 2025.<\/p>\n<p>The video takes you through how to build the program that asks the user to enter a word or phrase in English and it will translate it into a language of your choice.\u00a0 It will also speak the translation back to you!<\/p>\n<p>We will then expand it so it can deal with many languages!<\/p>\n<p><strong>Screenshots from final program<\/strong><\/p>\n<p><a href=\"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/public\/digilearn\/uploads\/sites\/6913\/2025\/03\/27175519\/t1.png\"><img loading=\"lazy\" decoding=\"async\" data-attachment-id=\"25058\" data-permalink=\"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/digilearn\/2025\/03\/27\/scratch-codealong-build-a-language-translator-recap\/t1\/\" data-orig-file=\"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/public\/digilearn\/uploads\/sites\/6913\/2025\/03\/27175519\/t1.png\" data-orig-size=\"835,630\" data-comments-opened=\"0\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"t1\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/public\/digilearn\/uploads\/sites\/6913\/2025\/03\/27175519\/t1-300x226.png\" data-large-file=\"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/public\/digilearn\/uploads\/sites\/6913\/2025\/03\/27175519\/t1.png\" class=\"wpa-warning wpa-image-missing-alt alignnone size-medium wp-image-25058\" src=\"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/public\/digilearn\/uploads\/sites\/6913\/2025\/03\/27175519\/t1-300x226.png\" alt=\"\" width=\"300\" height=\"226\" data-warning=\"Missing alt text\" srcset=\"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/public\/digilearn\/uploads\/sites\/6913\/2025\/03\/27175519\/t1-300x226.png 300w, https:\/\/blogs.glowscotland.org.uk\/glowblogs\/public\/digilearn\/uploads\/sites\/6913\/2025\/03\/27175519\/t1-768x579.png 768w, https:\/\/blogs.glowscotland.org.uk\/glowblogs\/public\/digilearn\/uploads\/sites\/6913\/2025\/03\/27175519\/t1.png 835w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/>\u00a0 <\/a><a href=\"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/public\/digilearn\/uploads\/sites\/6913\/2025\/03\/27175517\/t2.png\"><img loading=\"lazy\" decoding=\"async\" data-attachment-id=\"25057\" data-permalink=\"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/digilearn\/2025\/03\/27\/scratch-codealong-build-a-language-translator-recap\/t2\/\" data-orig-file=\"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/public\/digilearn\/uploads\/sites\/6913\/2025\/03\/27175517\/t2.png\" data-orig-size=\"846,636\" data-comments-opened=\"0\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"t2\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/public\/digilearn\/uploads\/sites\/6913\/2025\/03\/27175517\/t2-300x226.png\" data-large-file=\"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/public\/digilearn\/uploads\/sites\/6913\/2025\/03\/27175517\/t2.png\" class=\"wpa-warning wpa-image-missing-alt alignnone size-medium wp-image-25057\" src=\"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/public\/digilearn\/uploads\/sites\/6913\/2025\/03\/27175517\/t2-300x226.png\" alt=\"\" width=\"300\" height=\"226\" data-warning=\"Missing alt text\" srcset=\"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/public\/digilearn\/uploads\/sites\/6913\/2025\/03\/27175517\/t2-300x226.png 300w, https:\/\/blogs.glowscotland.org.uk\/glowblogs\/public\/digilearn\/uploads\/sites\/6913\/2025\/03\/27175517\/t2-768x577.png 768w, https:\/\/blogs.glowscotland.org.uk\/glowblogs\/public\/digilearn\/uploads\/sites\/6913\/2025\/03\/27175517\/t2.png 846w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><strong>Full tutorial<\/strong><\/p>\n<div class=\"epyt-video-wrapper\"><div  id=\"_ytid_72378\"  width=\"800\" height=\"450\"  data-origwidth=\"800\" data-origheight=\"450\" data-facadesrc=\"https:\/\/www.youtube.com\/embed\/n0DuEerQO98?enablejsapi=1&autoplay=0&cc_load_policy=1&cc_lang_pref=en&iv_load_policy=1&loop=0&rel=0&fs=1&playsinline=0&autohide=2&theme=dark&color=red&controls=1&disablekb=0&\" class=\"__youtube_prefs__ epyt-facade no-lazyload\" data-epautoplay=\"1\" ><img decoding=\"async\" data-spai-excluded=\"true\" class=\"epyt-facade-poster skip-lazy\" loading=\"lazy\"  alt=\"YouTube player\"  src=\"https:\/\/i.ytimg.com\/vi\/n0DuEerQO98\/maxresdefault.jpg\"  \/><button class=\"epyt-facade-play\" aria-label=\"Play\"><svg data-no-lazy=\"1\" height=\"100%\" version=\"1.1\" viewBox=\"0 0 68 48\" width=\"100%\"><path class=\"ytp-large-play-button-bg\" d=\"M66.52,7.74c-0.78-2.93-2.49-5.41-5.42-6.19C55.79,.13,34,0,34,0S12.21,.13,6.9,1.55 C3.97,2.33,2.27,4.81,1.48,7.74C0.06,13.05,0,24,0,24s0.06,10.95,1.48,16.26c0.78,2.93,2.49,5.41,5.42,6.19 C12.21,47.87,34,48,34,48s21.79-0.13,27.1-1.55c2.93-0.78,4.64-3.26,5.42-6.19C67.94,34.95,68,24,68,24S67.94,13.05,66.52,7.74z\" fill=\"#f00\"><\/path><path d=\"M 45,24 27,14 27,34\" fill=\"#fff\"><\/path><\/svg><\/button><\/div><\/div>\n<p>&nbsp;<\/p>\n<p><em>Full code used for the Cat sprite for those that are interested (the video explains it all!)<\/em><\/p>\n<div class=\"wp-block-image\"><a href=\"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/public\/digilearn\/uploads\/sites\/6913\/2025\/03\/27175844\/tcode.png\"><img loading=\"lazy\" decoding=\"async\" data-attachment-id=\"25059\" data-permalink=\"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/digilearn\/2025\/03\/27\/scratch-codealong-build-a-language-translator-recap\/tcode\/\" data-orig-file=\"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/public\/digilearn\/uploads\/sites\/6913\/2025\/03\/27175844\/tcode.png\" data-orig-size=\"912,549\" data-comments-opened=\"0\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"tcode\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/public\/digilearn\/uploads\/sites\/6913\/2025\/03\/27175844\/tcode-300x181.png\" data-large-file=\"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/public\/digilearn\/uploads\/sites\/6913\/2025\/03\/27175844\/tcode.png\" class=\"wpa-warning wpa-image-missing-alt alignnone size-full wp-image-25059\" src=\"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/public\/digilearn\/uploads\/sites\/6913\/2025\/03\/27175844\/tcode.png\" alt=\"\" width=\"912\" height=\"549\" data-warning=\"Missing alt text\" srcset=\"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/public\/digilearn\/uploads\/sites\/6913\/2025\/03\/27175844\/tcode.png 912w, https:\/\/blogs.glowscotland.org.uk\/glowblogs\/public\/digilearn\/uploads\/sites\/6913\/2025\/03\/27175844\/tcode-300x181.png 300w, https:\/\/blogs.glowscotland.org.uk\/glowblogs\/public\/digilearn\/uploads\/sites\/6913\/2025\/03\/27175844\/tcode-768x462.png 768w\" sizes=\"auto, (max-width: 912px) 100vw, 912px\" \/><\/a><\/div>\n<p><em>And the code for each of the language sprites is below.\u00a0 Each sprite has the same code, only the name of the language needs to changes<\/em><\/p>\n<div class=\"wp-block-image\"><a href=\"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/public\/digilearn\/uploads\/sites\/6913\/2025\/03\/27175906\/tcode2.png\"><img loading=\"lazy\" decoding=\"async\" data-attachment-id=\"25060\" data-permalink=\"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/digilearn\/2025\/03\/27\/scratch-codealong-build-a-language-translator-recap\/tcode2\/\" data-orig-file=\"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/public\/digilearn\/uploads\/sites\/6913\/2025\/03\/27175906\/tcode2.png\" data-orig-size=\"587,401\" data-comments-opened=\"0\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"tcode2\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/public\/digilearn\/uploads\/sites\/6913\/2025\/03\/27175906\/tcode2-300x205.png\" data-large-file=\"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/public\/digilearn\/uploads\/sites\/6913\/2025\/03\/27175906\/tcode2.png\" class=\"wpa-warning wpa-image-missing-alt alignnone size-full wp-image-25060\" src=\"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/public\/digilearn\/uploads\/sites\/6913\/2025\/03\/27175906\/tcode2.png\" alt=\"\" width=\"587\" height=\"401\" data-warning=\"Missing alt text\" srcset=\"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/public\/digilearn\/uploads\/sites\/6913\/2025\/03\/27175906\/tcode2.png 587w, https:\/\/blogs.glowscotland.org.uk\/glowblogs\/public\/digilearn\/uploads\/sites\/6913\/2025\/03\/27175906\/tcode2-300x205.png 300w\" sizes=\"auto, (max-width: 587px) 100vw, 587px\" \/><\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>This is a recap for you and your class to follow along to that will show you how to create a multi-language translator tool in Scratch! Based on the activity done as part of the code along during AI in Schools Week 2025. The video takes you through how to build the program that asks &hellip;<\/p>\n","protected":false},"author":58310,"featured_media":25056,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1954],"tags":[2300],"class_list":["post-25055","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-computing-science","tag-recap"],"jetpack_featured_media_url":"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/public\/digilearn\/uploads\/sites\/6913\/2025\/03\/27174914\/translate.jpg","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/digilearn\/wp-json\/wp\/v2\/posts\/25055","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/digilearn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/digilearn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/digilearn\/wp-json\/wp\/v2\/users\/58310"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/digilearn\/wp-json\/wp\/v2\/comments?post=25055"}],"version-history":[{"count":2,"href":"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/digilearn\/wp-json\/wp\/v2\/posts\/25055\/revisions"}],"predecessor-version":[{"id":25063,"href":"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/digilearn\/wp-json\/wp\/v2\/posts\/25055\/revisions\/25063"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/digilearn\/wp-json\/wp\/v2\/media\/25056"}],"wp:attachment":[{"href":"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/digilearn\/wp-json\/wp\/v2\/media?parent=25055"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/digilearn\/wp-json\/wp\/v2\/categories?post=25055"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/digilearn\/wp-json\/wp\/v2\/tags?post=25055"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}