scratchfoundation / scratchfoundation/scratch-editor
"Define" block breaking in some languages
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 :
Actual Behavior
But when switching the language to one of the following :
- Hungarian
- Amharic
- Azeri
- Korean
- Kurdish
- Mongolian
- Odia
- Uzbek
- Turkish
Steps to Reproduce
Steps to reproduce the behavior:
- Go to https://scratch.mit.edu/projects/editor/
- Create a new custom block.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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