jcid/loco-bundle

This package is abandoned and no longer maintained. No replacement package was suggested.

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

0.5.1 2016-08-17 07:21 UTC

This package is auto-updated.

Last update: 2020-06-04 07:52:02 UTC


README

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