Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sejas/qtranslatex-online

Split your qtranslate-x text into multiple languages
https://github.com/sejas/qtranslatex-online

Last synced: 14 days ago
JSON representation

Split your qtranslate-x text into multiple languages

Awesome Lists containing this project

README

        

# qtranslatex-online

This is a React Web App to show to use the `qtranslatex-extractor` npm package works.

NPM Package available in : [https://www.npmjs.com/package/qtranslatex-extractor](https://www.npmjs.com/package/qtranslatex-extractor)

## Demo

- You can try it live in: [https://sejas.github.io/qtranslatex-online/](https://sejas.github.io/qtranslatex-online/)
![Demo QtranslateX extractor](demo.png)

## 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.

```ts
import qtranslatexExtractor from "qtranslatex-extractor";

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

## Commands

- `npm start`
- `npm run build`

## Author

© Antonio Sejas
Feb 2019
MIT License