dick/translationmanager 问题修复 & 功能扩展

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

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

dick/translationmanager

最新稳定版本:1.0.2

Composer 安装命令:

composer require dick/translationmanager

包简介

An interface to edit Laravel language files, for Dick Admin.

README 文档

README

Latest Version on Packagist Software License Build Status Coverage Status Quality Score Total Downloads

A quick interface to edit Laravel language files, for Dick Admin.

THERE ARE BETTER THINGS THAN DICK The Dick project is no longer actively maintained. For important projects please use the new version: Laravel Backpack.

Install

Step 1. Install via Composer

$ composer require dick/translationmanager

Step 2. Add the service provider

In your config/app.php, add this to the providers array:

'Dick\TranslationManager\TranslationManagerServiceProvider',

Step 3. Run the migration and seed

$ php artisan migrate --path=vendor/dick/translationmanager/src/database/migrations
$ php artisan db:seed --class="Dick\TranslationManager\database\seeds\LanguageTableSeeder"

Usage

Tell TranslationManager what langfiles NOT to show, in config/admin.php, in the 'language_ignore' variable:

// Language files to NOT show in the Translation Manager
//
'language_ignore' => ['admin', 'pagination', 'reminders', 'validation', 'log', 'crud'],

Then add the menu elements for it, in config/admin.php in the 'menu' variable:

[
    'label' => "Translations",
    'route' => "",
    'icon' => 'fa fa-globe',
    'children' => [
        [
            'label' => "Languages",
            'route' => 'admin/language',
            'icon' => 'fa fa-flag-checkered',
        ],
        [
            'label' => "Site texts",
            'route' => 'admin/language/texts',
            'icon' => 'fa fa-language',
        ],
    ]
],

Or just try at your-project-domain/admin/language/texts

Screenshots

See http://usedick.com

Change log

Please see CHANGELOG for more information what has changed recently.

Testing

// TODO

$ composer test

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email alin@updivision.com or hello@tabacitu.ro instead of using the issue tracker.

Credits

License

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

统计信息

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

GitHub 信息

  • Stars: 1
  • Watchers: 2
  • Forks: 12
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-09-07

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固