itkg/translation-bundle
Composer 安装命令:
composer require itkg/translation-bundle
包简介
Translation bundle
README 文档
README
About
Import / Export translation feature for Symfony 2 projects
Installation
Installation by Composer
- If you use composer, add ItkgDelayEventBundle bundle as a dependency to the composer.json of your application
"require": { "itkg/translation-bundle": "dev-master" },
- Add ItkgTranslationBundle to your application kernel.
// app/AppKernel.php <?php // ... public function registerBundles() { $bundles = array( // ... new Itkg\TranslationBundle\ItkgTranslationBundle(), ); }
Usage
- Export yml files to a CSV
app/console itkg:translation:convert --path ./ --input=yml --output=csv --output-path=/var/www/mhps/translations
- Import csv files to a yml
app/console itkg:translation:convert --path ./translations/ --input=csv --output=yml
统计信息
- 总下载量: 4.5k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-04-03