viai18n-cli

manage i18n files and provides a visual interface for translating.it works along with [viai18n-loader](https://www.npmjs.com/package/viai18n-loader) frequently. ## Install

Usage no npm install needed!

<script type="module">
  import viai18nCli from 'https://cdn.skypack.dev/viai18n-cli';
</script>

README

viai18n-cli

manage i18n files and provides a visual interface for translating.it works along with viai18n-loader frequently.

Install

npm install viai18n-cli -g

Usage

you should have a config file before execute below commands. please refer to /example/viai18n.config.js.

  • collect locales together
viai18n collect
  • split locales
viai18n split
  • generate html or excel for translating
viai18n gen
  • fill with translated texts
viai18n fill
  • clean invalid text which is deprecated
viai18n clean

viai18n-cli provides a set of commands. use viai18n --help to learn more.

Changelog

  • v0.0.15
    1. Attribute config.exclude.file rename to config.exclude.filePattern which supports glob pattern.
    2. config.exclude.key[].file support glob pattern.