jstranslate maintained by laravelway
Description
Laravel package for translations on frontend
Author
Last update
2026/04/20 09:38
(dev-main)
License
Downloads
10 595
Tags
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