0.0.2 • Published 6 years ago

laragle-translate v0.0.2

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

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

or npm:

npm install laragle-translate --save

Lastly, add the following javascript code.

import Translate from 'laragle-translate';

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.