承接 diglabby/laravel-find-missing-translations 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

diglabby/laravel-find-missing-translations

最新稳定版本:1.5.2

Composer 安装命令:

composer require diglabby/laravel-find-missing-translations

包简介

A console command to find missing translations for Laravel projects

README 文档

README

Latest Version on Packagist Total Downloads Test Type coverage Psalm level

Find missing Laravel Translations

Artisan command to find missing translations. It takes a basic locale and finds missing keys/translations in other locales.

Package logo

Output example:

Output example

Installation

composer require diglabby/laravel-find-missing-translations --dev

The package works with Laravel 5 and higher, PHP 7.1 and higher.

Usage

Use default locate as base and default Laravel’s path to lang files:

php artisan translations:missing

You can specify a base locale:

php artisan translations:missing --base=es

You can specify a list of locales to check:

php artisan translations:missing --base=es --only=be,en

You can specify a list of locales to exclude:

php artisan translations:missing --base=es --exclude=fr,de

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

php artisan translations:missing --dir=/resources/my-custom-lang-dirname

Contributing

Testing

composer test

Thanks

Inspired by VetonMuhaxhiri/Laravel-find-missing-translations

统计信息

  • 总下载量: 9.85k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 8
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 8
  • Watchers: 4
  • Forks: 11
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-05-30