typidesign/laravel-artisan-translations 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

typidesign/laravel-artisan-translations

Composer 安装命令:

composer require typidesign/laravel-artisan-translations

包简介

An artisan command to update json translation files.

README 文档

README

Latest Version on Packagist Tests PHPStan Rector Pint

This package provides artisan commands to manage translations in Laravel JSON files.

Installation

You can install the package via composer:

composer require typidesign/laravel-artisan-translations

The service provider will be auto-discovered by Laravel.

Usage

Add translations from a single file

php artisan translations:add vendor/typicms/pages/src/lang/fr.json

Every translation present in this file will be added to lang/fr.json.

Add translations from a directory

php artisan translations:add vendor/typicms/pages/src/lang

Every translation found in this directory will be added to lang/.

Overwrite translations

By default, existing translation keys will not be overwritten. Use the --force option to overwrite them:

php artisan translations:add vendor/typicms/pages/src/lang --force

Remove translations

Remove translations found in a file or directory from lang/:

php artisan translations:remove vendor/typicms/pages/src/lang/fr.json
php artisan translations:remove vendor/typicms/pages/src/lang

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email samuel@typidesign.be instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

统计信息

  • 总下载量: 30.07k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 4
  • 点击次数: 4
  • 依赖项目数: 2
  • 推荐数: 0

GitHub 信息

  • Stars: 4
  • Watchers: 2
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-06-01

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固