Open SassNinja opened 2 years ago
Just migrating a project over to V3 and it looks like i18n is now breaking the vuetify typing.
new VueI18n is now createI18n so the types are slightly out of whack
TS2322: Type 'I18n<{}, {}, {}, string, true>' is not assignable to type 'I18n<{}, {}, {}, string, false>'.
vue-i18n.d.ts(24, 5): The expected type comes from property 'i18n' which is declared here on type 'VueI18nAdapterParams'
@marcpaskell #16848
Any updates to this? Would love to see this feature.
Problem to solve
If I see this correctly, vuetify currently only supports vue-i18n and not i18next. https://next.vuetifyjs.com/en/features/internationalization/#vue-i18n
Since vue-i18n doesn't seem to meet my requirements, I'd like to stay with i18next and be able to combine it with vuetify.
Proposed solution
Vuetify should support i18next. I think this probably means adding an vue-i18next adapter here: https://github.com/vuetifyjs/vuetify/tree/next/packages/vuetify/src/locale/adapters