0.0.0 • Published 2 years ago

nuxt-i18n-extractor v0.0.0

Weekly downloads
-
License
AGPL-3.0-or-later
Repository
-
Last release
2 years ago

nuxt-i18n-extractor

Extract i18n string from nuxt files and export them into your lang json files

Installation

npm install --save-dev @unclesamulus/nuxt-i18n-extractor

or

yarn add --dev @unclesamulus/nuxt-i18n-extractor

Usage

npx nuxt-i18n-extractor [ DIR ] [ LOCALES ]

Example:

npx nuxt-i18n-extractor ./components fr

Known limitations

  • Only support nuxt-i18n module
  • Only extract string from .vue and .js files, when they are inside $t function.