| Package Data | |
|---|---|
| Maintainer Username: | Samuel De Backer |
| Maintainer Contact: | sdebacker@gmail.com (Samuel De Backer) |
| Package Create Date: | 2017-06-01 |
| Package Last Update: | 2025-03-03 |
| Language: | PHP |
| License: | MIT |
| Last Refreshed: | 2025-10-30 15:03:29 |
| Package Statistics | |
|---|---|
| Total Downloads: | 25,896 |
| Monthly Downloads: | 381 |
| Daily Downloads: | 27 |
| Total Stars: | 4 |
| Total Watchers: | 2 |
| Total Forks: | 0 |
| Total Open Issues: | 0 |
This package gives you an artisan command to manage translations in Laravel 5.4+ json files.
You can install the package via composer:
composer require typidesign/laravel-artisan-translations
Now add the service provider in config/app.php file:
'providers' => [
// ...
Typidesign\Translations\ArtisanTranslationsServiceProvider::class,
];
php artisan translations:add vendor/typicms/pages/src/resources/lang/fr.json
Every translations present in this file will be added to /resources/lang/fr.json.
php artisan translations:add vendor/typicms/pages/src/resources/lang
Every translations found in this directory will be added to /resources/lang
By default, translation keys will not be overwritten. You can use the --force option to overwrite existing keys:
php artisan translations:remove vendor/typicms/pages/src/resources/lang[/lg.json]
Every translations found in this file/directory will be removed from /resources/lang
php artisan translations:add vendor/typicms/pages/src/resources/lang --force
Please see CHANGELOG for more information what has changed recently.
Please see CONTRIBUTING for details.
If you discover any security related issues, please email samuel@typidesign.be instead of using the issue tracker.
Typi Design is a webdesign agency based in Brussels, Belgium.
The MIT License (MIT). Please see License File for more information.