Vue 3
Composition API
Vue 2
Options API
Nuxt 3
@nuxtjs/i18n
Vite
Hot reload
npm install @intlpullhq/vue vue-i18n
import { createI18n } from 'vue-i18n';
import en from './locales/en.json';
const i18n = createI18n({
locale: 'en',
messages: { en }
});
app.use(i18n);<template>
<h1>{{ $t('welcome.title') }}</h1>
</template>
<script setup>
import { useI18n } from 'vue-i18n';
const { t } = useI18n();
</script>First-class integration with vue-i18n v9 for Vue 3 and Composition API.
Works with @nuxtjs/i18n for Nuxt 3 applications out of the box.
Sync translations on every deploy. Works with Vercel, Netlify, and more.
Get instant AI translations with Vue component context awareness.
export default defineNuxtConfig({
modules: ['@nuxtjs/i18n'],
i18n: {
locales: ['en', 'fr', 'es'],
defaultLocale: 'en',
vueI18n: './i18n.config.ts'
}
})