Download the PHP package ali-translator/translation-js-integrate without Composer
On this page you can find all versions of the php package ali-translator/translation-js-integrate. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download ali-translator/translation-js-integrate
More information about ali-translator/translation-js-integrate
Files in ali-translator/translation-js-integrate
Download ali-translator/translation-js-integrate
More information about ali-translator/translation-js-integrate
Files in ali-translator/translation-js-integrate
Vendor ali-translator
Package translation-js-integrate
Short Description Integrate ALI translator to frontend js
License MIT
Homepage https://sli.su/
Package translation-js-integrate
Short Description Integrate ALI translator to frontend js
License MIT
Homepage https://sli.su/
Please rate this library. Is it a good library?
Informations about the package translation-js-integrate
JS Integration of PHP AliAbc Translator
for Frontend
Additional package for ali-translator/translator which helps integrate this translator into frontend JS.
Installation
Initialization
Since this package extends ali-translator/translator,
first you need to create a $translator
and a wrapper with its translations vector - $plainTranslator
Then include the src/assets/js/ali-translator.js
script in your HTML code.
After that, create an instance of ALIAbcTranslatorJs
:
Basic Usage
PHP:
HTML:
JS:
Tests
The package includes a docker-compose file with an environment for testing.
All versions of translation-js-integrate with dependencies
PHP Build Version
Package Version
The package ali-translator/translation-js-integrate contains the following files
Loading the files please wait ....