承接 colender/laratrans 相关项目开发

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

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

colender/laratrans

Composer 安装命令:

composer require colender/laratrans

包简介

Automtatic translation using google api for laravel

README 文档

README

This package allows you to convert all files in resources/lang/en folder to required languages automatically. Its easy to configure and run simple command.

supports laravel/framework": "5.2.*

Dependencies

This package uses Dedicated Google Translate

Installation

Package can be installed using composer by adding to "require" object

"require": {
    "vijaytupakula/transvel": "dev-master"
}

now run composer update

or from console:

composer require vijaytupakula/transvel dev-master

now lets add class loader to providers array in config/app.php file

Vijaytupakula\Transvel\TransvelServiceProvider::class

once the class loader is added, try to run php artisan list this should show php artisan translate command.

Configuration

Now add your available langueges in the config/app.php as follows

'locales' => ['en' => 'English', 'fr' => 'French', 'it' => 'Italian'],

usage

Run php artisan translate : this command fetches all the files from resources/lang/en folder and then creates the files in each folders that are added as locales in app/config.php with translation using google api.

Contact

Please feel free to contact me if you have problem using it. It works great for me :)

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-08-30

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固