承接 novius/laravel-backpack-translation-manager 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

novius/laravel-backpack-translation-manager

Composer 安装命令:

composer require novius/laravel-backpack-translation-manager

包简介

This packages provides an interface to manage translations via the Backpack admin panel

README 文档

README

This package provides an interface for Laravel-Backpack to manage translations stored in database with spatie/laravel-translation-loader.

Requirements

Requires the intl PHP extension (http://php.net/intl).

Installation

You can install the package via composer:

composer require novius/laravel-backpack-translation-manager

Configure the translation loader

The package spatie/laravel-translation-loader is automatically installed (composer dependency), but you have to configure it manually.

Please follow these instructions: https://github.com/spatie/laravel-translation-loader#installation

Register the service provider

Only for Laravel <= 5.4 :

... in config/app.php :

'providers' => [
    // ...
    Novius\Backpack\Translation\Manager\Providers\TranslationServiceProvider::class,
]

[Optional] Integrate in Backpack's sidebar

In order for the translation manager to be accessible trought the sidebar in the admin panel, you have to overload the view resources/views/vendor/backpack/base/inc/sidebar.blade.php and add :

<li>
    <a href="{{ url(config('backpack.base.route_prefix', 'admin').'/'.config('translation-manager.route_prefix')) }}"><i class="fa fa-cog"></i> <span>{{ trans('translation-manager::crud.sidebar_title') }}</span></a>
</li>

Usage

@todo

Todos

  • Handle pluralization
  • Extract vendor dictionaries (via namespace)
  • Write Usage section in README

统计信息

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

GitHub 信息

  • Stars: 5
  • Watchers: 3
  • Forks: 6
  • 开发语言: PHP

其他信息

  • 授权协议: AGPL-3.0-or-later
  • 更新时间: 2018-01-25

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固