79516301

Date: 2025-03-18 04:35:08
Score: 1
Natty:
Report link

This is how I used it! It successfully solved this error!

const i18n = createI18n({
  locale: local, 
  legacy: false,
  globalInjection: true,
  messages: messages
})


//Use it i18n.global.locale instead of useI18n().locale
const locale = i18n.global.locale
locale.value = language.lang
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: hlin A