2017 © Pedro Peláez
 

library webtranslateit

Symfony integration with WebTranslateIt

image

ozean12/webtranslateit

Symfony integration with WebTranslateIt

  • Tuesday, February 13, 2018
  • by ardemchenkov
  • Repository
  • 6 Watchers
  • 1 Stars
  • 2,748 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 6 % Grown

The README.md

Build Status Scrutinizer Code Quality Latest Stable Version Total Downloads, (*1)

Ozean12WebTranslateItBundle

A Symfony 2 / Symfony 3 bundle which allows you to integrate the WebTranslateIt translation service., (*2)

Installation

1. Require the bundle:
composer require ozean12/webtranslateit
2. Set it up:
// app/AppKernel.php

public function registerBundles()
{
    $bundles = [
        // ...
        new EightPoints\Bundle\GuzzleBundle\GuzzleBundle(), // if not already enabled
        new JMS\SerializerBundle\JMSSerializerBundle(), // if not already enabled
        new Ozean12\WebTranslateItBundle\Ozean12WebTranslateItBundle(),
    ];

    // ...
}
# app/config/config.yml

ozean12_web_translate_it:
  # your project read key
  read_key: "%webtranslateit_read_key%"

  # path to where download your translations,
  # ex: '%kernel.root_dir%/../src/Acme/DemoBundle/Resources/translations'
  pull_path: "%webtranslateit_pull_path%" 

Usage

To update the translations, run: - For Symfony < 2.8: app/console ozean12:webtranslateit:pull - For Symfony 2.8 / 3: bin/console ozean12:webtranslateit:pull - Or a shorthand notation: bin/console o:w:p, (*3)

NB: To check the command progress, add -v modifier (app/console o:w:p -v or bin/console o:w:p -v), (*4)

Credits

Ozean12, (*5)

The Versions

13/02 2018

dev-master

9999999-dev

Symfony integration with WebTranslateIt

  Sources   Download

The Requires

 

The Development Requires

by alahtarin

23/12 2016

dev-change-label

dev-change-label

Symfony integration with WebTranslateIt

  Sources   Download

The Requires

 

The Development Requires

by alahtarin

22/12 2016

0.1

0.1.0.0

Symfony integration with WebTranslateIt

  Sources   Download

The Requires

 

The Development Requires

by alahtarin