Babel messages extractor for vue.js templates.
vue.js — Reactive Components for Modern Web Interfaces. Site: http://vuejs.org/.
Babel — Internationalization library for Python. Site: http://babel.pocoo.org/.
Install
pip install babel-vue-extractor
Usage
Add to your babel config
[babelvueextractor.extract.extract_vue: **.vue]
Usage in .vhtml files
<h1>{{ gettext('Hello') }}</h1>
<p> {{ ngettext('Foo', 'Foos', 1) }} </p>
<p> {{ gettext('Processed by filter')|somefilter }} </p>
<div v-text="gettext('Sometext')"></div>
<div :text="gettext('Sometext')"></div>
Issue Tracking
GitHub: https://github.com/nonamenix/babel-vue-extractor/issues
Release files for babel-vue-extractor 1.4.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| babel-vue-extractor-1.4.3.tar.gz | 10.9 kB | Details |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| babel_vue_extractor-1.4.3-py3-none-any.whl | Python 3 | none | any | Details |
| babel_vue_extractor-1.4.3-py2-none-any.whl | Python 2 | none | any | Details |
Total release size: 25.2 kB
Release files / babel-vue-extractor-1.4.3.tar.gz
| Download URL | babel-vue-extractor-1.4.3.tar.gz |
|---|---|
| Size | 10.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dac36a49d21dc861888ade9ce923356f9fbdef476131e0e67aa712972dc767ba
|
|
BLAKE2b-256 checksum How to use checksums |
49e2926f3546575c6b0f2d7664c0ff173d501eedf5e6f04e81594b967310b2d0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / babel_vue_extractor-1.4.3-py3-none-any.whl
| Download URL | babel_vue_extractor-1.4.3-py3-none-any.whl |
|---|---|
| Size | 7.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f8ebb2b941892cdcec8d77ab2805d8b29467516b08bed2d58de444243fd9a0c2
|
|
BLAKE2b-256 checksum How to use checksums |
d4aa8a963289a9d049bab342f6e40c4060e1d77e84f6bfeb7dc8cfd4bd93629a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / babel_vue_extractor-1.4.3-py2-none-any.whl
| Download URL | babel_vue_extractor-1.4.3-py2-none-any.whl |
|---|---|
| Size | 7.1 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
03c7a9d65ecd3ffa661d59562d8a96ff31ac3e7c9cc6923fd94b7210d7d2360c
|
|
BLAKE2b-256 checksum How to use checksums |
818c6061036294642e8d8e0adab3777cc7bd8cc4e769e33ccb0838cc8083f176
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |