Closed chgold closed 2 weeks ago
import { createVuetify } from 'vuetify'
// https://github.com/vuetifyjs/vuetify/blob/master/packages/vuetify/src/composables/locale.ts#L83
// this is rtl default
const vuetify = createVuetify({
locale: {
rtl: { zhHans: true },
}
})
import { useLocale } from 'vuetify'
import { locale } from 'vuetify-pro-tiptap'
const { current } = useLocale()
function setLang(lang: string) {
locale.setLang(lang)
current.value = lang
}
setLang('zhHans') // set rtl locale
for Semitic languages