Closed yudyananda closed 1 month ago
Loris is on vacation this and next week. Response will take approx 9 days!
Hi @yudyananda
I've tried to reproduce this but it seems to work fine. I added a custom 404 page in opral/monorepo#3040. Both Astro.locals.paraglide.dir
and languageTag()
seem to work on the 404 page.
/non-existent
-> English 404/de/non-existnent
-> German 404I know there are some Astro versions where the middleware wasn't being called correctly in production. Which version are you on?
Hi, i just got an error
Properties of undefined (reading 'lang')
when usingparaglide
object fromAstro.locals
in custom 404 page.Is there a way that we can do from the paraglide side?