languara / laravel
Languara localization plugin for Laravel 4.x. Easily upload, translate, and synchronize your language content using Languara's Cloud Based Translation Management Platform.
Requires
- php: >=5.4.0
- illuminate/support: 4.2.*
- languara/core: ~1.0
This package is not auto-updated.
Last update: 2024-12-21 19:10:54 UTC
README
Install
Add languara plugin information to your composer.json file:
"require": {
"languara/laravel": "~1.0"
}
Use composer to install this package.
$ composer update
Register the package
Add the package to the autoload array in app/config/app.php:
'providers' => array(
// .....
'Languara\Laravel\LaravelServiceProvider'
)
Configure the Package
.....
Usage
Execute this command to see a list of available commands in your commandline:
$ php artisan
Or you can check the commands and their usage here:
$ php artisan 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 artisan languara:connect [project-private-key]
to connect your plugin with a project on languara.com
$ php artisan languara:pull
to download your content from Languara to your app.
$ php artisan languara:push
to upload your content from your app to Languara.
$ php artisan languara:register
to register a new user on languara.com