Skip to content

i18n for console messages #3384

Open
Open
@kjhollen

Description

@kjhollen

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.

Metadata

Metadata

Type

No type

Projects

Status

Open for Discussion

Relationships

None yet

Development

No branches or pull requests

Issue actions