jcid / loco-bundle
A Symfony bundle that downloads the translation files from the localise.biz API and places them in the right folder.
Installs: 7 868
Dependents: 0
Suggesters: 0
Security: 0
Stars: 6
Watchers: 3
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=5.3.0
- guzzlehttp/guzzle: ^5.0 | ^6.0
- symfony/framework-bundle: ^2.3 | ^3.0
README
README
Installation
Install JcidLocoBundle
using Composer.
$ composer require jcid/loco-bundle
Enable the bundle in the kernel:
<?php // app/AppKernel.php public function registerBundles() { $bundles = array( // ... new Jcid\Bundle\LocoBundle\JcidLocoBundle(), ); }
Usage
Configuration example
jcid_loco:
key: <Your api key>
locales:
nl: nl_NL
en: en_US
de: de_DE
domains:
- email
- messages
- validators
After that you could download your translations with the Symfony2 command
php app/console translation:loco:download