0.0.0 • Published 2 years ago
nuxt-i18n-extractor v0.0.0
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.
0.0.0
2 years ago