languara/symfony3
Composer 安装命令:
composer require languara/symfony3
包简介
Languara localization plugin for Symfony 2.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/symfony3": "1.0.*@dev"
}
Use composer to install this package.
$ composer update
Register the package
Add the package to the autoload array in app/AppKernel.php:
public function registerBundles()
{
$bundles = array(
// .....
new Languara\SymfonyBundle\LanguaraSymfonyBundle(),
)
}
Configure the Package
.....
Usage
Execute this command to see a list of available commands in your commandline:
$ php bin/console
Or you can check the commands and their usage here:
$ php bin/console 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 bin/console languara:pull
to download your content from Languara to your app.
$ php bin/console languara:push
to upload your content from your app to Languara.
$ php bin/console languara:register
to register a new user on languara.com
统计信息
- 总下载量: 43
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-03-22