languara/laravel5

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

1.1.2 2017-05-17 23:54 UTC

This package is not auto-updated.

Last update: 2024-09-28 18:48:00 UTC


README

Languara Plugin for Laravel 5.x

Install

Add Languara plugin information to your composer.json file:


"require": {
  "languara/laravel5": "~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::class,
)

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