Open
Description
Increasing access
FES internationalization improvement to match 1.x/2.x difference
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)
Feature enhancement details
Currently, FES fetches translations using latest:
p5.js/src/core/internationalization.js
Line 153 in 5f0fcfa
Which results in a. 1.x sketch getting 2.x FES translations, which may be inaccurate. Should fetch within the minor version, but latest patch, for example: if the sketch is 1.11.1, it should get language for 1.11.7 (or whatever is latest)
This should be patched first in 1.x, and then a matching 2.x