scratchfoundation / scratchfoundation/scratch-editor

"Define" block breaking in some languages

Open
#694 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
281
Forks
276
Avg merge
7d 8h
Merged PRs (30d)
6

Description

Expected Behavior

When creating a custom block, a define block should appear, looking like this :

Image

Actual Behavior

But when switching the language to one of the following :

  • Hungarian
Image
  • Amharic
Image
  • Azeri
Image
  • Korean
Image
  • Kurdish
Image
  • Mongolian
Image
  • Odia
Image
  • Uzbek
Image
  • Turkish
Image

Steps to Reproduce

Steps to reproduce the behavior:

  1. Go to https://scratch.mit.edu/projects/editor/
  2. Create a new custom block.
  3. Set the language to any of the ones mentioned above.

System Details

Ubuntu 24.04.4 LTS, Chrome Version 152.0.7977.82 (Official Build) (x86_64)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open the Scratch editor at https://scratch.mit.edu/projects/editor/, create a custom block, and switch among the listed languages to reproduce the broken Define block. Trace the language-setting path and custom-block rendering from that editor entry point, comparing a working language with the affected ones. Done means the Define block keeps the expected appearance in Hungarian, Amharic, Azeri, Korean, Kurdish, Mongolian, Odia, Uzbek, and Turkish.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend, internationalization
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
62/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.