p5.js icon indicating copy to clipboard operation
p5.js copied to clipboard

[p5.js 2.0 Bug Report]: Missing Korean translation entry for `preloadDisabled`

Open eupthere opened this issue 10 months ago • 5 comments

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
  • [x] Internationalization
  • [x] Friendly errors
  • [ ] Other (specify if possible)

p5.js version

2.1.2

Web browser and version

Firefox 146.0.1

Operating system

MacOSX 26.1

Steps to reproduce this

Korean translation for FES preloadDisabled is missing from translations/ko/translation.json.

Compare it with translations/en/translation.json.

I would like to open a PR for this.

Steps:

  1. Set web browser language to Korean (about:preferences → Language)
  2. On the p5.js web editor, set p5.js version to 2.1.2
  3. Run the snippet below

Snippet:

function preload() {
  loadImage('https://p5js.org/assets/img/p5js.svg');
}

Screencaps

Korean

Image

English

Image

eupthere avatar Jan 10 '26 07:01 eupthere

Thanks for reporting this, I understand the issue.

It looks like the FES key preloadDisabled exists in translations/en/translation.json but is missing from translations/ko/translation.json, which causes the Korean localization to fall back or fail when that error is triggered.

If you’re not already working on a fix, I’d be happy to open a PR to add the missing Korean translation entry. And if you are working on it already, I’m also happy to help review or assist in any way. Thank you 😇

shuklaaryan367-byte avatar Jan 10 '26 08:01 shuklaaryan367-byte

Thanks for the interest, shuklaaryan!

I’ve got a fix ready and can open a PR as soon as the issue is approved 🙂

eupthere avatar Jan 10 '26 09:01 eupthere

hi @davepagurek , could you please assign this to me? Thanks !

Anshumancanrock avatar Jan 30 '26 08:01 Anshumancanrock

Hi @eupthere , sorry this slipped through. Please feel free to file the PR, or let me know if another volunteer should take it. Thanks!

ksen0 avatar May 06 '26 09:05 ksen0

@ksen0 No worries and thank for checking on this! Opened the PR: #8770

eupthere avatar May 07 '26 08:05 eupthere