vue-polyglot-utils

utils for vue-polyglot
1,880
Install
npm install vue-polyglot-utils
Latest Version:0.1.1
License:MIT
Last Updated:Feb 13, 2018
Links: GitHub  ·  npm
Maintainer: guillaumevincent

Build Status

utils for Vue-Polyglot

Vue-Polyglot-Utils v0.1.0

Installation

npm install --save-dev vue-polyglot-utils

extractLocales(string)

return the locales parsed in string

import {extractLocales} from 'vue-polyglot-utils';

const string = "{{$t('test')}}";
parser.extractLocales(string) // {"test": "test"}

License

License MIT (see LICENSE file)

Related Packages

vue-polyglot

basic translation plugin for VueJS 2+

4,450 42
@generaltranslation/vue-extractor

Vue source code extraction for General Translation

410,565 1,070
@byjohann/vue-i18n

Lightweight internationalization plugin for Vue

8,721 7
vue-localer

Internationalization plugin for Vue.

1,158 2
@code-ninja/i18n-lang-generator

Generate translation files for vue-i18n projects

630 0

Version History

Version Released License
0.1.1 MIT
0.1.0 MIT