serkansyalcin/translation-checker
最新稳定版本:v2.0.0
Composer 安装命令:
composer require serkansyalcin/translation-checker
包简介
A Laravel package to check for missing translations across languages.
README 文档
README
Overview
The Translation Checker package helps you identify missing translation keys across your language files by scanning all language folders within the lang directory.
Installation
To install the package in your Laravel project, run:
composer require serkansyalcin/translation-checker
Usage Run the following command to check for missing translations:
php artisan lang:check-missing
Example Output When you run the command, the output will be formatted as follows:,
Scanning language files...
Missing translations in [ar]:
- instructor.php:
- about
- profile-photo
Missing translations in [ru]:
- instructor.php:
- about
- profile-photo
Missing translations in [tr]:
- instructor.php:
- about
- profile-photo
Summary:
- 2 keys missing in [ar]
- 2 keys missing in [ru]
- 2 keys missing in [tr]
Key Features
Scans all language folders and files within your lang directory. Reports missing translation keys and files in a clear and organized format. Supports nested translation keys.
统计信息
- 总下载量: 254
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 6
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-08-22