fschirinzi/translation-manager-for-laravel

Package to manage Laravel translations locally

1.4.0 2022-01-13 12:32 UTC

This package is auto-updated.

Last update: 2024-10-13 18:41:07 UTC


README

Tests Code Style Latest Stable Version Total Downloads

Easy to use package that helps you with the translation of your Laravel application locally.

Output example

Features

✅ Check all locales
✅ Check nested translations
✅ Check nested directories
✅ Display where translations are found
✅ Display where translations are missing
✅ Export all translations to CSV for easy sharing with your translator

Installation

composer require fschirinzi/translation-manager-for-laravel --dev

Usage

Validation

Use default Laravel's path to lang files:

php artisan translations:validate

You can specify a relative or absolute path to lang directory location:

php artisan translations:validate --dir=/other/dir/with/my-custom-languages

Export

php artisan translations:export -o /tmp/my-translations.csv

Maintainers

License

Translation Manager For Laravel is open-sourced software licensed under the MIT license.