2017 © Pedro Peláez
 

symfony-bundle crowdin-bundle

Manage Crowdin translations via Symfony2 commands.

image

jjanvier/crowdin-bundle

Manage Crowdin translations via Symfony2 commands.

  • Saturday, December 10, 2016
  • by jjanvier
  • Repository
  • 2 Watchers
  • 9 Stars
  • 2,872 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 9 Forks
  • 6 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

CrowdinBundle

Manage your Crowdin translations via Symfony2 commands thanks to the akeneo/crowdin-api library., (*1)

This package is not maintained anymore!

Please use akeneo/nelson instead, which is up-to-date, maintained and contains more features., (*2)

Installation

We assume you're familiar with Composer, a dependency manager for PHP. Use following command to add the bundle to your composer.json and download package., (*3)

If you have Composer installed globally., (*4)

    $ composer require "jjanvier/crowdin-bundle":"*@dev"

Otherwise you have to download .phar file., (*5)

    $ curl -sS https://getcomposer.org/installer | php
    $ php composer.phar require "jjanvier/crowdin-bundle":"*@dev"

Adding required bundles to the kernel

You need to enable the bundle inside the symfony kernel., (*6)

    <?php

    // app/AppKernel.php

    public function registerBundles()
    {
        $bundles = array(
            new Jjanvier\Bundle\CrowdinBundle\JjanvierCrowdinBundle(),
        );
    }

Configuration

Add the following configuration to your config.yml :, (*7)

    jjanvier_crowdin:
        crowdin_api_key: %crowdin_api_key%
        crowdin_project_identifier: %crowdin_project_identifier%

Add the following keys to your parameters.yml:, (*8)

    crowdin_api_key: MY_API_KEY
    crowdin_project_identifier: MY_PROJECT_IDENTIFIER

Existing commands

  • crowdin:api:add-directory adds a directory to the Crowdin project.
  • crowdin:api:delete-directory deletes a Crowdin project directory. All nested files and directories will be deleted too.
  • crowdin:api:download downloads last package from Crowdin.
  • crowdin:api:export builds a zip archive with latest Crowdin translations. Can be invoked only once every 30 minutes.
  • crowdin:api:add-file adds a new file to the Crowdin project.
  • crowdin:api:update-file updates an existing file in the Crowdin project.
  • crowdin:api:delete-file deletes a file from the Crowdin project. All the translations will be lost without ability to restore them.
  • crowdin:api:status gets Crowdin project progress by language.
  • crowdin:api:upload uploads latest version of your localization files to Crowdin.
  • crowdin:extract retrieves translations of your project and extract them.

The Versions

10/12 2016

dev-master

9999999-dev https://github.com/jjanvier/CrowdinBundle

Manage Crowdin translations via Symfony2 commands.

  Sources   Download

MIT

The Requires

 

The Development Requires

localization crowdin translating

12/08 2014

0.2.0

0.2.0.0 https://github.com/jjanvier/CrowdinBundle

Manage Crowdin translations via Symfony2 commands.

  Sources   Download

MIT

The Requires

 

The Development Requires

localization crowdin translating

20/06 2014

0.1.0

0.1.0.0 https://github.com/jjanvier/CrowdinBundle

Manage Crowdin translations via Symfony2 commands.

  Sources   Download

MIT

The Requires

 

The Development Requires

localization crowdin translating