laravelway/jstranslate

Laravel package for translations on frontend

Maintainers

Package info

github.com/laravelway/jstranslate

pkg:composer/laravelway/jstranslate

Fund package maintenance!

laravelway

Statistics

Installs: 9 310

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

2.2.0 2026-03-16 07:40 UTC

README

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