processing / processing/p5.js-web-editor

Wrong language is shown in the console.

Open
#3,145 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Bug
Dominant language
JavaScript
Stars
1.7k
Forks
1.7k
Avg merge
3d 4h
Merged PRs (30d)
8

Description

p5.js version

v1.9.4

What is your operating system?

Windows

Web browser and version

chrome 125.0.6422.113

Actual Behavior

Japanese language shows in the console panel when I'm setting the language as English.
I have tried to set OS language as English but still shows Japanese in the console.

Expected Behavior

lang
aa

Steps to reproduce
Steps:
  1. select English from the top right on the editor.
  2. type any wrong code e.g aa in the draw function.
Snippet:

// Paste your code here :)
function setup() {
  createCanvas(400, 400);
}

function draw() {
  background(220);
  aa
}

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

Reproduce the issue in the p5.js Web Editor by selecting English and entering invalid JavaScript such as aa in draw(). Trace how the selected editor language and OS language affect console diagnostics; done means English is consistently shown in the console when English is selected.

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
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.