承接 jlaso/tradukoj-laravel 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

jlaso/tradukoj-laravel

Composer 安装命令:

composer require jlaso/tradukoj-laravel

包简介

Tradukoj Laravel Translations

README 文档

README

Add the package in the main composer.json

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

Launch composer update in order to get TradukojLaravel installed.

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.

Data project in the user area

<?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.

To upload the first time all the translations you have in local to the server:

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

To download all the translations from the server to local:

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.

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.

php artisan tradukoj:sync --debug

Author and collaborators

  • Joseluis Laso

References

统计信息

  • 总下载量: 6
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 8
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-03-02

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固