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

Recent Courses on Laravel Daily

Roles and Permissions in Laravel 13

14 lessons
57 min

Queues in Laravel 13

18 lessons
1 h 12 min read

How to Structure Laravel 13 Projects

16 lessons
1 h 32 min read