getting wrong language in the console.
Open
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:
- copy my code
- paste code in the editor
- see the different language in the console rather than English (probably OS language)
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
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
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