承接 vladislavbogomolov/transheet 相关项目开发

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

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

vladislavbogomolov/transheet

Composer 安装命令:

composer require vladislavbogomolov/transheet

包简介

Google Sheets as a translation tool

README 文档

README

Contributors Forks Stargazers Issues MIT License LinkedIn


Logo

Transheet

Free solution to manage your translations

Report Bug · Request Feature

Getting Started

Enable Google Sheets API and create Service account

  1. Go to Console Google Cloud Platform
  2. Enable "Google Sheets API"
  3. Click "Manage"
  4. Click "Credentials"
  5. Click "Create credentials"
  6. Click "OAuth client ID"
  7. Click "Configure consent screen"
  8. Choose "External" > Create
  9. Add scopes for "Google Sheets API" .../auth/drive.file
  10. Save and continue
  11. Publish app
  12. Click on “Credentials” and choose "OAuth Client ID" from the “Create credentials”
  13. Choose "Web application" and click "Create"
  14. Click on "Download json", put file in root of your project and rename it in client_secret.json
  15. Click "Service account"
  16. Type "ServiceAccount" in "Service account name" text field
  17. Click "Create and continue"
  18. Click "Done"
  19. Copy EMAIL address of service account created

Create Spreadsheet

  1. Start a new spreadsheet
  2. Click "Share" the button into the top right corner
  3. Past copied service account email and click "Done"
  4. Add to your .env ID of spreadsheet created.

Example:

   SPREADSHEETID=1Tu3EvufoNVnnUvRnc-3d-3raww6Z7ti951xegnqlsDM
  1. Add to your .env sheet name.

Example:

   SHEETNAME=Sheet1
  1. Set A1 with value "key" without double quotes
  2. From B1 to Z1 set ISO 639-1 Code languages of interest

Example:

Product Name Screen Shot

Installation package

  1. Install
composer require vladislavbogomolov/transheet
  1. Add into ./config/app.php file, after Package Service Providers... comment
Vladislavbogomolov\Transheet\TransheetServiceProvider::class,

Usage

This command will create transheet.php in each language folder that will contain translation lists.

php artisan transheet:download

(back to top)

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-06-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固