0.0.6 • Published 4 years ago

@laragle/translate v0.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
4 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.

0.0.5

4 years ago

0.0.6

4 years ago

0.0.4

4 years ago

0.0.3

5 years ago

0.0.2

5 years ago