process-drive/laravel-cloud-translation

1.0.0 2022-10-31 06:29 UTC

This package is not auto-updated.

Last update: 2024-11-20 14:58:34 UTC


README

Latest Stable Version Total Downloads Latest Unstable Version License PHP Version Require

ProcessDrive laravel cloud translation

This pacakage is used for store your locale file in database and use. Then you can directly update and store languages. if you wants to create new language you can directly mention this package. it will translate and store the values.

Installation

Run this command in your terminal

composer require process-drive/laravel-cloud-translation

After Installation

To set service provider to config/app.php file

'providers' => [
        ProcessDrive\LaravelCloudTranslation\CloudTranslationServiceProvider::class,
    ]

If you not added in job table in your project. you run this below command or refer this link : "https://laravel.com/docs/9.x/queues"

php artisan queue:table

Mention .env:

QUEUE_CONNECTION=database

Run the migration

php artisan migrate

Run this command in your terminal

php artisan trans:db

Then:

php artisan serve
Go to this link: "http://127.0.0.1:8000/translation/index"

License

MIT

has context menu