languara / symfony3
Languara localization plugin for Symfony 2.x. Easily upload, translate, and synchronize your language content using Languara's Cloud Based Translation Management Platform.
Installs: 42
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=5.3.0
- languara/core: ~1.0
This package is not auto-updated.
Last update: 2024-11-15 19:39:54 UTC
README
Install
Add languara plugin information to your composer.json file:
"require": {
"languara/symfony3": "1.0.*@dev"
}
Use composer to install this package.
$ composer update
Register the package
Add the package to the autoload array in app/AppKernel.php:
public function registerBundles()
{
$bundles = array(
// .....
new Languara\SymfonyBundle\LanguaraSymfonyBundle(),
)
}
Configure the Package
.....
Usage
Execute this command to see a list of available commands in your commandline:
$ php bin/console
Or you can check the commands and their usage here:
$ php bin/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.
$ php bin/console languara:pull
to download your content from Languara to your app.
$ php bin/console languara:push
to upload your content from your app to Languara.
$ php bin/console languara:register
to register a new user on languara.com