Skip to content

Internationalization

Although the plugin is simple, we believe user experience should be as good as possible. Therefore, we provide internationalization functionality. You can set the locale parameter to select the language. The default language is Chinese. If you want to use English, set locale to en.

js
Vue.use(hevueImgPreview, {
  locale: 'en'
})

TIP

Since the author's English proficiency is limited, all English translations in the plugin and documentation are done using AI. If there are any inaccuracies, please forgive us. We also welcome your valuable feedback. You can submit an issue, send an email, or directly contact me.