This plugin allow a useful tool to create localizated keys to your Vue application using Vue I18N.
- Extract literal text to a localized key in the
<i18n>
tag of your.vue
file (from<template>
and<script>
tags)
- Extraction of inlined variable texts and HTML:
- Extracion of inlined HTML to replace by span (only in tag)
This command gets the selected text and create a new key on the existent <i18n>
(or create new one if not exists) in every configured language on the plugin settings.
This command generates a JSON file with all localized keys:
- vue-i18n
- @kazupon/vue-i18n-loader
This extension contributes the following settings:
vuei18nhelper.languages
: Language keys (comma separated)