qtranslatex-extractor-js

NPM package to Receive a string and return and object with each translation

Downloads
9
Stars
1
Committers
2

qtranslatex-extractor-js

Library in tpyescript to help you to move a QtranslateX Wordpress Site into a WPML. If your site is stucked in QtranslateX, then this is your solution to move your content.

NPM Packate: https://www.npmjs.com/package/qtranslatex-extractor

Demo

How it works?:

Receive the qtranslate string and return an object with each translation. Use it with NodeJS to automate your process. Or in your frontend to show your text dinamically.

import qtranslatexExtractor from 'qtranslatex-extractor'

const translations = qtranslatexExtractor('[:en]Hello World ![:es]¡HolaMundo![:]')

Author

© Antonio Sejas Feb 2019 MIT License

Package Rankings
Top 21.51% on Npmjs.org