This package has been deprecated

Author message:

This package has been renamed to laragle-translate

laragle-translate-js

0.0.4 • Public • Published

Laragle Translate Real-time support

Laragle Translate is a Laravel localization management system that will update your localization files in real-time.

Installation

You can install the package via yarn:

yarn add laragle-translate-js

or npm:

npm install laragle-translate-js --save

Lastly, add the following javascript code.

import Translate from 'laragle-translate-js';
 
new Translate({
    key: 'b83ca2ed4a1a4e39b2b3',
    channel: 'APP_ID', // Your Laragle Translate app id.
    authEndpoint: 'https://api.translate.laragle.com/broadcasting/auth',
    appUrl: 'APP_URL' // Your Laravel backend URL.
});

You can get your APP_ID by creating a project here

License

The MIT License (MIT). Please see License File for more information.

Package Sidebar

Install

npm i laragle-translate-js

Weekly Downloads

3

Version

0.0.4

License

MIT

Unpacked Size

6.04 kB

Total Files

8

Last publish

Collaborators

  • dluague