fschirinzi/translation-manager-for-laravel
Composer 安装命令:
composer require fschirinzi/translation-manager-for-laravel
包简介
Package to manage Laravel translations locally
README 文档
README
Easy to use package that helps you with the translation of your Laravel application locally.
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
Requirements
- PHP
8.2or higher - Laravel
11,12or13
Older Laravel versions (6–10) are supported by the
1.xrelease line.
Installation
composer require fschirinzi/translation-manager-for-laravel --dev
The service provider is registered automatically via Laravel's package discovery.
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
Nested keys are displayed using a dot (.) by default. Use --separator (or -s) to change it:
php artisan translations:validate --separator=/
Export
php artisan translations:export -o /tmp/my-translations.csv
Testing
composer test
Changelog
Please see CHANGELOG.md for details on what has changed recently.
Maintainers
License
Translation Manager For Laravel is open-sourced software licensed under the MIT license.
统计信息
- 总下载量: 136
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 5
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-05-03