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 484

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 1

2.2.1 2026-04-02 19:30 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