2017 © Pedro Peláez
 

library tradukoj-laravel

Tradukoj Laravel Translations

image

jlaso/tradukoj-laravel

Tradukoj Laravel Translations

  • Saturday, March 14, 2015
  • by jlaso
  • Repository
  • 1 Watchers
  • 1 Stars
  • 3 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Instalation

Add the package in the main composer.json, (*1)

  { 
     "require": 
     {
        ...,
        "jlaso/tradukoj-laravel": "dev-master",
        ...
     }
  }

Launch composer update in order to get TradukojLaravel installed., (*2)

Launch the command php artisan vendor:publish to get the configuration of the package exposed and edit the file app/config/tradukoj.php adding the data of your project in the user area of Tradukoj., (*3)

Data project in the user area, (*4)

<?php

return array(

    'key' => 'put-your-api-key-here',
    'secret' => 'put-your-api-secret-here',
    'project_id' => 0,
    'url' => 'https://www.tradukoj.com/api/',

);

Using

Once you have configured your parameters you can use the synchronization with the Tradukoj server., (*5)

To upload the first time all the translations you have in local to the server:, (*6)

php artisan tradukoj:sync --upload-first

If you use this option the subsequents times you can lost your translations' changes in the server. Remember this, (*7)

To download all the translations from the server to local:, (*8)

php artisan tradukoj:sync 

There is no way at this moment to full synchronize translations full-duplex, because of the date of the file where the translations are in local. There is no easy way to figure out which translations are modified in local., (*9)

Troubleshooting

If you found any troubles using the commands of this packages remember the option debug that helps you to figure out whats going on., (*10)

php artisan tradukoj:sync --debug

Author and collaborators

  • Joseluis Laso

References, (*11)

The Versions

14/03 2015

dev-develop

dev-develop

Tradukoj Laravel Translations

  Sources   Download

MIT

The Requires

 

laravel translations tradukoj

09/03 2015

dev-master

9999999-dev

Tradukoj Laravel Translations

  Sources   Download

MIT

The Requires

 

laravel translations tradukoj

02/03 2015