mopro/translation-ui-bundle 问题修复 & 功能扩展

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

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

mopro/translation-ui-bundle

Composer 安装命令:

composer require mopro/translation-ui-bundle

包简介

A different UI for the JMSTranslationBundle

README 文档

README

A different UI for the JMSTranslationBundle.

Installation

  • Install the bundle through composer

      composer require mopro/translation-ui-bundle
      php app/console assets:install
    
  • Instanciate the bundle for the dev environment

      if ('dev' === $this->getEnvironment()) {
          $bundles[] = new Mopro\Bundle\TranslationUIBundle\MoproTranslationUIBundle();
      }
    
  • Import routing in your app/config/routing_dev.yml file

      mopro_translation_ui:
          resource: "@MoproTranslationUIBundle/Controller/"
          type:     annotation
    

(The routing will conflict with the existing JMSTranslation UI, so remove the routes imports if needed)

Usage

Go to http://your.website/app_dev.php/_trans and start translating.

Development

This bundle relies on Javascript. It uses all the cool things we have in 2016 (see package.json file for a list of dependencies). If you want to develop, make sure you have at least node and npm installed. Then, you will need to run these command:

npm install -g webpack
npm install

In order to generate the javascript file, you will need to run the webpack command.

Remember to symlink your assets by using the php app/console assets:install --symlink command

LICENSE

See LICENSE file.

统计信息

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

GitHub 信息

  • Stars: 5
  • Watchers: 2
  • Forks: 0
  • 开发语言: JavaScript

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-02-09

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固