Skip to content
This repository has been archived by the owner on Jun 4, 2020. It is now read-only.

JCID/JcidLocoBundle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SymfonyInsight

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