定制 fschirinzi/translation-manager-for-laravel 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

fschirinzi/translation-manager-for-laravel

Composer 安装命令:

composer require fschirinzi/translation-manager-for-laravel

包简介

Package to manage Laravel translations locally

README 文档

README

Tests Latest Stable Version PHP 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

Requirements

  • PHP 8.2 or higher
  • Laravel 11, 12 or 13

Older Laravel versions (6–10) are supported by the 1.x release 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

GitHub 信息

  • Stars: 5
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-05-03

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固