Skip to content
Discussion options

You must be logged in to vote

Oh yes, sorry I missed this in a rush. The middleware is indeed required for the as-needed strategy. You could however run it with a matcher that only triggers if you see a pathname that doesn't start with /es, /fr, … (and also not for static assets).

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@jgcjordi
Comment options

@amannn
Comment options

Answer selected by jgcjordi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants