Skip to content

In Browser

Anthony Fu edited this page May 16, 2020 · 3 revisions

WIP! not available yet

Start the Server

To enable i18n Ally in Browser support, you will need start i18n Ally server by executing command i18n Ally: Start server in command palette (Ctrl+Shift+P or β‡§βŒ˜P).

If you want to start the server on VS Code startup, you can set the config:

"i18n-ally.server.startWithVSCode": true,

Devtools

// TODO:

WYSIWYG

Setup

Vue

Vue Cli

in main.js

// const i18n = new VueI18n({...})

// add following lines, after you create vue-i18n instance and before you init the main Vue instance
if (process.env.NODE_ENV === 'development') {
  window.$i18nAllyConfig = { name: 'vue-i18n', instance: i18n }
}

// new Vue({...})

Nuxt.js

Vite

Manual

TODO:

Help Integrate with other frameworks

// TODO: