NNuxt•Created by Robin on 9/13/2024 in #❓・help 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.