laravelway/jstranslate
Laravel package for translations on frontend
Installation
You can install the package via composer:
composer require laravelway/jstranslate
You can publish the config file with:
php artisan vendor:publish --tag="jstranslate-config"
This is the contents of the published config file:
return [
'files' => [
],
'translate_script_path' => 'assets/translate.js',
'translations_path' => 'assets/translations.{lang}.js',
];
Build Script
npm run build
Testing
composer test
Related Packages
doctrine/dbal
Powerful PHP database abstraction layer (DBAL) with many features for database s...
644,549,754
9,698
laravel/serializable-closure
Laravel Serializable Closure provides an easy and secure way to serialize closur...
423,477,751
607
nunomaduro/collision
Cli error handling for console/command-line PHP applications.
403,217,078
4,664
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| 2.2.1 | ^8.2 | ^10.0|| | MIT | |
| 2.2.0 | ^8.2 | ^10.0|| | MIT | |
| 2.1.4 | ^8.2 | ^10.0|| | MIT | |
| 2.1.3 | ^8.2 | ^10.0|| | MIT | |
| 2.1.2 | ^8.2 | ^10.0|| | MIT | |
| 2.1.1 | ^8.2 | ^10.0|| | MIT | |
| 2.1.0 | ^8.2 | ^10.0|| | MIT | |
| 2.0.2 | ^8.2 | ^10.0|| | MIT | |
| 2.0.1 | ^8.2 | ^10.0|| | MIT | |
| 2.0.0 | ^8.2 | ^10.0|| | MIT | |
| 1.0.0 | ^8.2 | ^10.0|| | MIT |