Skip to main content
Back to packages
811 GitHub stars

MohmmedAshraf/laravel-translations

View on GitHub

Description

Provides a simple and friendly user interface for managing translations in a Laravel app.

Importing Translations

php artisan translations:import

To overwrite existing translations:

php artisan translations:import --fresh

Exporting Translations

Export from the UI or via command:

php artisan translations:export

Check Status

php artisan translations:status

Updating

After updating the package, re-publish the assets:

php artisan translations:update

You can automate this in your composer.json:

{
"scripts": {
"post-update-cmd": ["@php artisan translations:update --ansi"]
}
}

Related Content on Laravel Daily

Video