2017 © Pedro Peláez
 

symfony-bundle symfony

Languara localization plugin for Symfony 2.x. Easily upload, translate, and synchronize your language content using Languara's Cloud Based Translation Management Platform.

image

languara/symfony

Languara localization plugin for Symfony 2.x. Easily upload, translate, and synchronize your language content using Languara's Cloud Based Translation Management Platform.

  • Sunday, March 27, 2016
  • by drongen
  • Repository
  • 3 Watchers
  • 1 Stars
  • 56 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Languara Plugin for Symfony 2.x

Install

Add Languara plugin information to your composer.json file:, (*1)


"require": {
    "languara/symfony": "1.0.*@dev"
}

Use composer to install this package., (*2)


$ composer update

Register the package

Add the package to the autoload array in app/AppKernel.php:, (*3)


public function registerBundles()
{
    $bundles = array(
        // .....
        new Languara\SymfonyBundle\LanguaraSymfonyBundle(),
    )
}

, (*4)

Configure the Package

....., (*5)

Usage

Execute this command to see a list of available commands in your commandline:, (*6)


$ php app/console

Or you can check the commands and their usage here:, (*7)


$ php app/console languara:translate [options]

to translate the texts you already have in your lang directory. You can also select the type of translation you want to perform, Machine or Human. It's set to machine by default., (*8)


$ php app/console languara:pull

to download your content from Languara to your app., (*9)


$ php app/console languara:push

to upload your content from your app to Languara., (*10)


$ php app/console languara:register

to register a new user on languara.com, (*11)

Troubleshooting

Some version of the Symfony framework come with the "platform" field set to php version 5.3.9. This plugin requires php version >=5.5, so in your composer.json file find this code:, (*12)


"config": {
    "bin-dir": "bin",
    "platform": {
        "php": "5.3.9"
    }
},

and just remove the "platform" property and it's value from the composer.json, (*13)

The Versions

27/03 2016

dev-master

9999999-dev https://languara.com/localization/symfony

Languara localization plugin for Symfony 2.x. Easily upload, translate, and synchronize your language content using Languara's Cloud Based Translation Management Platform.

  Sources   Download

MIT

The Requires

 

by Languara Development Team

symfony translation i18n internationalization localization translate l10n localize languara internationalize

27/03 2016

1.0.1

1.0.1.0 https://languara.com/localization/symfony

Languara localization plugin for Symfony 2.x. Easily upload, translate, and synchronize your language content using Languara's Cloud Based Translation Management Platform.

  Sources   Download

MIT

The Requires

 

by Languara Development Team

symfony translation i18n internationalization localization translate l10n localize languara internationalize

27/03 2016

1.0.0

1.0.0.0 https://languara.com/localization/symfony

Languara localization plugin for Symfony 2.x. Easily upload, translate, and synchronize your language content using Languara's Cloud Based Translation Management Platform.

  Sources   Download

MIT

The Requires

 

by Languara Development Team

symfony translation i18n internationalization localization translate l10n localize languara internationalize