How to access current locale from the middleware? #1670
Unanswered
DamianGlowala
asked this question in
Q&A
Replies: 1 comment 7 replies
-
Hi @DamianGlowala, You can access the locale using |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Placing
const { locale } = useNuxtApp()
within global route middleware does not work. How can I access the locale?Beta Was this translation helpful? Give feedback.
All reactions