Skip to content

Fix 404 on localized library directory page#1520

Merged
ksen0 merged 1 commit into
processing:mainfrom
Ayush4958:library-page-localization
Jul 20, 2026
Merged

Fix 404 on localized library directory page#1520
ksen0 merged 1 commit into
processing:mainfrom
Ayush4958:library-page-localization

Conversation

@Ayush4958

@Ayush4958 Ayush4958 commented Jul 18, 2026

Copy link
Copy Markdown
Contributor

Summary

The corresponding [locale] dynamic route file was missing for the directory subdirectory, this resulted in a 404 page.
Added the missing src/pages/[locale]/libraries/directory/index.astro localized route.

Closes :- #1517

Screen Recording

Screen.Recording.2026-07-19.010212.mp4

@Ayush4958

Copy link
Copy Markdown
Contributor Author

Hi @ksen0 ,
I had solves the issue of switching language doesn't work aside English
This PR is ready for review

@Nwakaego-Ego

Copy link
Copy Markdown
Contributor

Hi @Ayush4958, thank you for this PR. I tested it locally and can confirm that /es/libraries/directory/, which previously returned a 404, now loads correctly, and all other non-English locales work as expected.

cc @doradocodes @ksen0

@ksen0

ksen0 commented Jul 20, 2026

Copy link
Copy Markdown
Member

Thanks @Nwakaego-Ego for review and @Ayush4958 for the work! PS If you find other places on the site where the localization page is missing, please feel free to make a new PR adding those, and link to this PR/issue for context.

@ksen0
ksen0 merged commit cb0e997 into processing:main Jul 20, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants