Skip to content

i18n for console messages #3384

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
1 of 14 tasks
kjhollen opened this issue Dec 11, 2018 · 3 comments
Open
1 of 14 tasks

i18n for console messages #3384

kjhollen opened this issue Dec 11, 2018 · 3 comments
Assignees
Labels
Friendly Errors Help Wanted Internationalization Relates to 'src/core/internationalization.js' p5.js 2.0
Milestone

Comments

@kjhollen
Copy link
Member

kjhollen commented Dec 11, 2018

Nature of issue?

  • Found a bug
  • Existing feature enhancement
  • New feature request

In various parts of the codebase, there are console error messages for the end user hardcoded in English. We could internationalize messages to provide better support for users who speak other languages. Here are some files where I found such error messages:

  • src/webgl/3d_primitives.js
  • src/webgl/p5.Camera.js
  • src/webgl/p5.RendererGL.js
  • src/webgl/p5.Matrix.js
  • src/webgl/p5.Shader.js
  • src/webgl/p5.Texture.js
  • src/core/structure.js
  • src/math/p5.Vector.js
  • src/typography/loading_displaying.js
  • src/typography/p5.Font.js
  • src/webgl/p5.Geometry.js

This feature enhancement is not meant to cover translations themselves, but rather the architecture required to allow use of translations in the future.

@lmccart lmccart added this to the 1.0.0 milestone Dec 11, 2018
@outofambit outofambit self-assigned this Oct 28, 2019
@processing processing deleted a comment from unassign-bot bot Dec 17, 2019
@lmccart lmccart removed this from the 1.0.0 milestone Feb 28, 2020
@Qianqianye Qianqianye added this to the 1.5.0 milestone Jul 27, 2022
@Bernice55231
Copy link
Contributor

It's been a while, but we, @al6862 @anpanring would like to take over this issue. Could we try it out first based on pull request #3488?

@limzykenneth
Copy link
Member

@Bernice55231 This is pretty old and I'm not sure still relevant especially considering we have an FES system that can support translated messages as well.

@Qianqianye Qianqianye added the Internationalization Relates to 'src/core/internationalization.js' label Sep 29, 2023
@Qianqianye Qianqianye modified the milestones: 1.8.0, 1.9.0 Nov 23, 2023
@Qianqianye Qianqianye modified the milestones: 1.9.0, 1.9.1 Dec 1, 2023
@limzykenneth limzykenneth moved this to Proposal in p5.js 2.x 🌱🌳 May 28, 2024
@ksen0
Copy link
Member

ksen0 commented Apr 16, 2025

This is approved for implementation in a minor release of 2.x, but it's not quite fleshed out for assignment just yet. To move forward, this issue needs an implementation proposal as well as a volunteer to work on it.

PS: This message is part of cleaning up the p5.js 2.0 roadmap prior to release, to make outstanding more more approachable for new contributors. You can join the conversation about this new version on this Discourse thread or this GitHub thread!

If you're new to p5.js contribution, welcome! Please be sure to read through the contributor guidelines, and keep in mind that you should not file a pull request (or start working on code changes) without a corresponding issue or before an issue has been approved for implementation and assigned.

@ksen0 ksen0 modified the milestones: 1.9.2, 2.x Anytime Apr 16, 2025
@ksen0 ksen0 moved this from Proposal to Help Wanted in p5.js 2.x 🌱🌳 Apr 16, 2025
@ksen0 ksen0 moved this from Help Wanted to Open for Discussion in p5.js 2.x 🌱🌳 Apr 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Friendly Errors Help Wanted Internationalization Relates to 'src/core/internationalization.js' p5.js 2.0
Projects
Status: Open for Discussion
Development

No branches or pull requests

8 participants