languara/laravel
最新稳定版本:1.0.1
Composer 安装命令:
composer require languara/laravel
包简介
Languara localization plugin for Laravel 4.x. Easily upload, translate, and synchronize your language content using Languara's Cloud Based Translation Management Platform.
关键字:
README 文档
README
Install
Add languara plugin information to your composer.json file:
"require": {
"languara/laravel": "~1.0"
}
Use composer to install this package.
$ composer update
Register the package
Add the package to the autoload array in app/config/app.php:
'providers' => array(
// .....
'Languara\Laravel\LaravelServiceProvider'
)
Configure the Package
.....
Usage
Execute this command to see a list of available commands in your commandline:
$ php artisan
Or you can check the commands and their usage here:
$ php artisan languara:translate [options]
to translate the texts you already have in your lang directory. You can also select the type of translation you want to perform, Machine or Human. It's set to machine by default.
$ php artisan languara:connect [project-private-key]
to connect your plugin with a project on languara.com
$ php artisan languara:pull
to download your content from Languara to your app.
$ php artisan languara:push
to upload your content from your app to Languara.
$ php artisan languara:register
to register a new user on languara.com
统计信息
- 总下载量: 25
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-05-17