move-elevator/composer-translation-validator
Composer 安装命令:
composer require move-elevator/composer-translation-validator
包简介
A Composer plugin that validates translations files in your project regarding mismatches between language source and target files.
README 文档
README
Composer Translation Validator
A Composer plugin that validates translation files in your project.
Provides a command validate-translations to check for translations mismatches, duplicates, schema validation and more.
Supports XLIFF, YAML, JSON and PHP translation files.
✨ Features
- Autodetect coherent language files
- Supports various translation file formats
- Provides multiple validators
- Configurable via separate configuration files
🔥 Installation
composer require --dev move-elevator/composer-translation-validator
📊 Usage
Validate your translation files by running the command:
composer validate-translations ./translations
The command validate-translations can be used to validate translation files in your project. It will automatically detect the translation files based on the supported formats and run the configured validators. See the CLI documentation for more details.
📝 Documentation
Full documentation is available at move-elevator.github.io/composer-translation-validator.
Quick Links
- Getting Started
- Configuration
- CLI Reference
- Validators
- File Formats
- File Detection
- Programmatic Usage
🧑💻 Contributing
Please have a look at CONTRIBUTING.md.
⭐ License
This project is licensed under GNU General Public License 3.0 (or later).
统计信息
- 总下载量: 26.72k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 11
- 依赖项目数: 16
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0-or-later
- 更新时间: 2025-05-26
