Skip to content

Feature: Add fallback routing for localized p5.sound reference pages (currently doesn’t exist) #1346

@mikhailbond1

Description

@mikhailbond1

Increasing Access

This feature improves access by preventing dead-end pages for non-English users. Instead of seeing a “page does not exist” message, users can still view the English documentation with a clear notice, making important resources like the p5.sound reference easier to find and use regardless of language.

Most appropriate sub-area of p5.js?

Reference

Feature request details

Feature: Fallback to English for localized p5.sound reference pages

Summary

The p5.sound reference only exists in English. When visiting localized routes like:

the site shows a “page does not exist” message instead of displaying the English content.


Current behaviour

  • Localized p5.sound routes show a “does not exist” page
  • The English content is not shown

Expected behaviour

  • Render the English version of the page
  • Show a notice like:

This page is not available in [language]. Showing the English version.


Why this helps

  • Prevents dead-end pages
  • Makes existing content accessible from localized routes
  • Clearly communicates missing translations

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions