processing / processing/p5.js

getting wrong language in the console.

Open
#7,080 10 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Bug Internationalization
Dominant language
JavaScript
Stars
24k
Forks
3.8k
Avg merge
3d 16h
Merged PRs (30d)
25

Description

Most appropriate sub-area of p5.js?
  • Accessibility
  • Color
  • Core/Environment/Rendering
  • Data
  • DOM
  • Events
  • Image
  • IO
  • Math
  • Typography
  • Utilities
  • WebGL
  • Build process
  • Unit testing
  • Internationalization
  • Friendly errors
  • Other (specify if possible)
p5.js version

v1.9.4

Web browser and version

chrome 125.0.6422.113

Operating system

Windows 11

Steps to reproduce this
Steps:
  1. copy my code
  2. paste code in the editor
  3. see the different language in the console rather than English (probably OS language)
    language2
Snippet:

// Paste your code here :)

let letters;
function setup() {
  createCanvas(400, 400);
  letters = "Panna";
}

function draw() {
  background(220);
  let x = width/2;
  let y = height/2;
  let space = 10;
  letters.split("");
  for(let i =0;i<letters.length;i++){
    console.log(letters[i]);
    text(letters[i],x+space,y,letters.x,letters.y);
  }
}

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

No repository files or tests are named. First reproduce the report in Chrome 125 on Windows 11 using the supplied sketch, then trace where the console language is selected; done means the relevant console messages remain in English regardless of the operating-system language.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
internationalization
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.