Skip to main content
Version: 4.x.x

Vue integration (i18next)


This integration is for Vue 2


To get full image of working i18next integration, check our Vue i18next Example Application.

For integration with Vue we use @panter/vue-i18next integration + we recommend also use ICU message formatter as that is supported on Tolgee platform natively:

npm install @panter/vue-i18next i18next-icu

And then use following setup:

import { withTolgee } from '@tolgee/i18next';
import i18next from 'i18next';
import ICU from 'i18next-icu';
import VueI18Next from '@panter/vue-i18next';


withTolgee(i18next, {
apiUrl: process.env.VUE_APP_TOLGEE_API_URL,
apiKey: process.env.VUE_APP_TOLGEE_API_KEY,
lng: 'en', // or use i18next language detector
supportedLngs: ['cs', 'en', 'fr', 'de'],

const i18n = new VueI18Next(i18next);

new Vue({

Now you can use regular @panter/vue-i18next.