"Define" block breaking in some languages

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

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

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

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.

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)

Dominant language
JavaScript
Stars
310
Forks
299
Avg merge
19h 41m
Merged PRs (30d)
14

Getting set up

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.

More from scratchfoundation/scratch-editor

All issues in scratchfoundation/scratch-editor

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.