Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Using i18n in composable - Nuxt
N
Nuxt
•
2y ago
Robin
Using i18n in composable
Hi
, I
'd like to create a global func that return current locale in uppercase and define it a type but seems like it only works in setup script
. Is there a way to do it
? I don
't wanna create it in every file if possible
.
Nuxt
Join
Nuxt Community Chat Server
31,817
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Using fetch in composable with shared results
N
Nuxt / ❓・help
2y ago
Using nuxtjs/i18n types in a module
N
Nuxt / ❓・help
2y ago
call composable in plugin
N
Nuxt / ❓・help
4mo ago